|
|
|
|
package shiyan
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"sync"
|
|
|
|
|
|
|
|
|
|
"github.com/flipped-aurora/gin-vue-admin/server/commonus"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
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"` //封顶值"`
|
|
|
|
|
|
|
|
|
|
}
|