package shiyan import ( "sync" "github.com/flipped-aurora/gin-vue-admin/server/commonus" "github.com/flipped-aurora/gin-vue-admin/server/model/hrsystem" ) var synPro = sync.WaitGroup{} type ApiGroup struct { // Code generated by github.com/flipped-aurora/gin-vue-admin/server Begin; DO NOT EDIT. ShiyanApi // Code generated by github.com/flipped-aurora/gin-vue-admin/server End; DO NOT EDIT. } //输出迁移组织架构 type outOrgCont struct { Id int64 `json:"id" gorm:"primaryKey;column:id;type:bigint(20) unsigned;not null;comment:Id;index"` Superior int64 `json:"superior" gorm:"column:superior;type:bigint(20) unsigned;default:0;not null;comment:上级ID"` OrganizationType int64 `json:"organizationtype" gorm:"column:organization_type;type:bigint(20) unsigned;default:0;not null;comment:行政组织类型"` } //职务相关 type jobAttber struct { Id int64 `json:"id" gorm:"primaryKey;column:id;type:bigint(20) unsigned;not null;comment:Id;index"` Number string `json:"number" gorm:"column:number;type:varchar(255) unsigned;default:'';not null;comment:编号"` Name string `json:"name" gorm:"column:name;type:varchar(255) unsigned;default:'';not null;comment:名称"` PersonInCharge int `json:"personincharge" gorm:"column:person_in_charge;type:tinyint(1) unsigned;default:0;not null;comment:是否为本部门负责人"` Dutid int64 `json:"dutid" gorm:"column:dutid;type:bigint(20) unsigned;default:0;not null;comment:职务Id"` Dutname string `json:"dutname" gorm:"column:dutname;type:varchar(255) unsigned;default:'';not null;comment:职务名称"` DutNumber string `json:"dutnumber" gorm:"column:dutnumber;type:varchar(255) unsigned;default:'';not null;comment:职务编号"` Jobid int64 `json:"jobid" gorm:"column:jobid;type:bigint(20) unsigned;default:0;not null;comment:职务分类Id"` JobName string `json:"jobname" gorm:"column:jobname;type:varchar(255) unsigned;default:'';not null;comment:职务分类名称"` } //删除提交指标数据 type delTargetStr struct { commonus.SetIds UserKey string `json:"userkey"` } //更具提交人删除定量信息 type basisType struct { UserKey string `json:"userkey"` } //定量流水全奖值、零奖值、封顶值 type FlowLogAllZreo struct { Id string `json:"id"` TargetId string `json:"targetid"` //指标ID` Zeroprize float64 `json:"zeroprize"` //零奖值"` Allprize float64 `json:"allprize"` //全奖值"` Capping float64 `json:"capping"` //封顶值"` } type Looknoepares struct { FlId int64 `json:"fid" gorm:"primaryKey;column:fid;type:bigint(20) unsigned;not null;comment:Id;index"` DutyDepartment int64 `json:"dutydepartment" gorm:"column:deid;type:bigint(20) unsigned;default:0;not null;comment:职责部门"` FldId int64 `json:"fldid" gorm:"column:fldid;type:bigint(20) unsigned;not null;comment:Id;index"` Score float64 `json:"score" gorm:"column:score;type:bigint(20) unsigned;default:0;not null;comment:数据"` ScoringScore float64 `json:"scoringscore" gorm:"column:sscore;type:bigint(20) unsigned;default:0;not null;comment:手动分"` EtId int64 `json:"etid" gorm:"column:etid;type:bigint(20) unsigned;not null;comment:Id;index"` Title string `json:"title" gorm:"column:title;type:varchar(255);comment:指标名称"` Year int64 `json:"year" gorm:"column:year;type:int(7) unsigned;default:0;not null;comment:年分"` Quarter int64 `json:"quarter" gorm:"column:quarter;type:int(2) unsigned;default:0;not null;comment:季度"` Month int64 `json:"month" gorm:"column:month;type:int(2) unsigned;default:0;not null;comment:月"` Tjuser int64 `json:"tjuser" gorm:"column:tjuser;type:bigint(20) unsigned;not null;comment:Id;index"` } func (Looknoepares *Looknoepares) TableName() string { return "looknoepares" } type AddDutyNewCont struct { Id string `json:"id"` //维度ID Name string `json:"name"` // Order int64 `json:"ordering"` ZhiFraction int `json:"zhiFraction"` Child []EvaluPross `json:"child"` //考核细则 } //指标 type EvaluPross struct { Id string `json:"id"` //维度ID Name string `json:"name"` Content string `json:"content"` //指标说明 Unit string `json:"unit"` //单位"` ReferenceScore int64 `json:"referencescore"` //标准分值"` Cycles int `json:"cycle"` //1:班;2:天;3:周;4:月;5:季度;6:年"` CycleAttres int `json:"cycleattr"` //辅助计数"` State int `json:"state"` Score int64 `json:"score"` //分数 QualEvalId string `json:"qeid"` Status int `json:"status"` } //行政组织树查询 type govThreeType struct { Id int64 `json:"id"` IdStr string `json:"idstr"` Level int `json:"level"` } type MenuList []OutGovCont //输出行政组织信息 type OutGovCont struct { hrsystem.AdministrativeOrganization ClassName string `json:"classname" gorm:"column:classname;type:varchar(255) unsigned;default:'';not null;comment:行政组织分类名称"` Level int64 `json:"level" gorm:"column:level;type:int(5) unsigned;default:1;not null;comment:级别"` } //组织架构树 type govThree struct { OutGovCont Child []govThree `json:"child"` }