dddd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

33 lines
1.0 KiB

package nature
type ApiGroup struct{}
//获取指标ID
type getTargetId[T any] struct {
TargetId []T `json:"targetid"` //指标
}
//定性考核查询参数
type natureParameter struct {
TargetId []string `json:"targetid"` //指标
Org []string `json:"org"` //行政组织
Year []string `json:"year"` //年
TimeAttribute TimeAttributeMap `json:"timeattribute"` //时间辅助
AccMethod []int `json:"accmethod"` //核算方式 1:合计值;2:平均值
}
//时间属性
type TimeAttributeMap struct {
Class int `json:"class"` //0:全年;1:半年;2:季度;3:月度
Time []int `json:"time"` //class->0(0),Time->1(1:上半年,2:下半年),class->2(1:第一季度,2:第二季度,3:第三季度,4:第四季度),class->3(1:1月....12:12月)
}
//组织架构
type orgModels struct {
Id string `json:"id"`
Name string `json:"name"`
}
type orgModelsAry struct {
orgModels
Child []orgModels `json:"child"`
}