|
@@ -9,7 +9,32 @@ type OilContractSumScore struct {
|
|
|
SupplierId int `json:"SupplierId" xorm:"default 0 comment('供应商ID') INT(11) 'SupplierId'"`
|
|
SupplierId int `json:"SupplierId" xorm:"default 0 comment('供应商ID') INT(11) 'SupplierId'"`
|
|
|
SupplierName string `json:"SupplierName" xorm:"comment('企业名称') VARCHAR(255) 'SupplierName'"`
|
|
SupplierName string `json:"SupplierName" xorm:"comment('企业名称') VARCHAR(255) 'SupplierName'"`
|
|
|
ContractClass string `json:"ContractClass" xorm:"comment('合同类别') VARCHAR(255) 'ContractClass'"`
|
|
ContractClass string `json:"ContractClass" xorm:"comment('合同类别') VARCHAR(255) 'ContractClass'"`
|
|
|
- ContractId int `json:"ContractId" xorm:"not null default 0 comment('合同表ID') INT(11) 'ContractId'"`
|
|
|
|
|
|
|
+ Category int `json:"Category" xorm:"not null default 0 comment('0二级单位创建1专业处创建') INT(11) 'Category'"`
|
|
|
|
|
+ ConclusionReason string `json:"ConclusionReason" xorm:"comment('不合格原因') VARCHAR(255) 'ConclusionReason'"`
|
|
|
|
|
+ Conclusion int `json:"Conclusion" xorm:"default 0 comment('0不合格,1观察使用,2合格,3优秀') INT(11) 'Conclusion'"`
|
|
|
|
|
+ WorkflowId string `json:"WorkflowId" xorm:"default '0' comment('工作流的ID') VARCHAR(50) 'WorkflowId'"`
|
|
|
|
|
+ Businesskey string `json:"BusinessKey" xorm:"VARCHAR(255) 'BusinessKey'"`
|
|
|
|
|
+ Processkey string `json:"ProcessKey" xorm:"comment('工作流名称') VARCHAR(255) 'ProcessKey'"`
|
|
|
|
|
+ FirstAudit int `json:"FirstAudit" xorm:"comment('初审') INT(11) 'FirstAudit'"`
|
|
|
|
|
+ SecondAudit int `json:"SecondAudit" xorm:"comment('复审') INT(11) 'SecondAudit'"`
|
|
|
|
|
+ ThirdAudit int `json:"ThirdAudit" xorm:"comment('专业科室审批') INT(11) 'ThirdAudit'"`
|
|
|
|
|
+ FourthAudit int `json:"FourthAudit" xorm:"comment('集中审批') INT(11) 'FourthAudit'"`
|
|
|
|
|
+ CommitComId string `xorm:"default '0' comment('提交二级单位Id') VARCHAR(50)"`
|
|
|
|
|
+ ProfessionalAudit int `json:"ProfessionalAudit" xorm:"comment('业务处室专业审批人id') INT(11) 'ProfessionalAudit'"`
|
|
|
|
|
+ AuditIndex int `json:"AuditIndex" xorm:"default 0 comment('审批次数') INT(11) 'AuditIndex'"`
|
|
|
|
|
+ Status string `json:"Status" xorm:"not null default '0' comment('状态标识( 0 初始 - 1待二级初审 - 2待二级复审 - 3-专业科室接收 4 待专业科室审核 - 5 待集中评审 - 6 待交费 - 7 待入库 - 8 完成 - 9审核未通过)') VARCHAR(10) 'Status'"`
|
|
|
|
|
+ CreateOn time.Time `json:"CreateOn" xorm:"DATETIME 'CreateOn'"`
|
|
|
|
|
+ CreateUserId int `json:"CreateUserId" xorm:"INT(11) 'CreateUserId'"`
|
|
|
|
|
+ CreateBy string `json:"CreateBy" xorm:"VARCHAR(50) 'CreateBy'"`
|
|
|
|
|
+ ModifiedOn time.Time `json:"ModifiedOn" xorm:"DATETIME 'ModifiedOn'"`
|
|
|
|
|
+ ModifiedUserId int `json:"ModifiedUserId" xorm:"INT(11) 'ModifiedUserId'"`
|
|
|
|
|
+ ModifiedBy string `json:"ModifiedBy" xorm:"VARCHAR(50) 'ModifiedBy'"`
|
|
|
|
|
+}
|
|
|
|
|
+type OilContractSumScoreVo struct {
|
|
|
|
|
+ Id int `json:"Id" xorm:"not null pk autoincr comment('ID') INT(11) 'Id'"`
|
|
|
|
|
+ SupplierId int `json:"SupplierId" xorm:"default 0 comment('供应商ID') INT(11) 'SupplierId'"`
|
|
|
|
|
+ SupplierName string `json:"SupplierName" xorm:"comment('企业名称') VARCHAR(255) 'SupplierName'"`
|
|
|
|
|
+ ContractClass string `json:"ContractClass" xorm:"comment('合同类别') VARCHAR(255) 'ContractClass'"`
|
|
|
Category int `json:"Category" xorm:"not null default 0 comment('0二级单位创建1专业处创建') INT(11) 'Category'"`
|
|
Category int `json:"Category" xorm:"not null default 0 comment('0二级单位创建1专业处创建') INT(11) 'Category'"`
|
|
|
SumScore float64 `json:"SumScore" xorm:"default 0.00 comment('实际分值') DECIMAL(11,2) 'SumScore'"`
|
|
SumScore float64 `json:"SumScore" xorm:"default 0.00 comment('实际分值') DECIMAL(11,2) 'SumScore'"`
|
|
|
Content1 string `json:"Content1" xorm:"default '0' comment('评价内容') VARCHAR(50) 'Content1'"`
|
|
Content1 string `json:"Content1" xorm:"default '0' comment('评价内容') VARCHAR(50) 'Content1'"`
|
|
@@ -27,7 +52,6 @@ type OilContractSumScore struct {
|
|
|
Content5 string `json:"Content5" xorm:"default '0' comment('评价内容') VARCHAR(50) 'Content5'"`
|
|
Content5 string `json:"Content5" xorm:"default '0' comment('评价内容') VARCHAR(50) 'Content5'"`
|
|
|
NormalSumScore5 float64 `json:"NormalSumScore5" xorm:"default 0.00 comment('标准分值') DECIMAL(11,2) 'NormalSumScore5'"`
|
|
NormalSumScore5 float64 `json:"NormalSumScore5" xorm:"default 0.00 comment('标准分值') DECIMAL(11,2) 'NormalSumScore5'"`
|
|
|
SumScore5 float64 `json:"SumScore5" xorm:"default 0.00 comment('实际分值') DECIMAL(11,2) 'SumScore5'"`
|
|
SumScore5 float64 `json:"SumScore5" xorm:"default 0.00 comment('实际分值') DECIMAL(11,2) 'SumScore5'"`
|
|
|
- Status string `json:"Status" xorm:"not null default '0' comment('状态标识( 0 初始 - 1待二级初审 - 2待二级复审 - 3-专业科室接收 4 待专业科室审核 - 5 待集中评审 - 6 待交费 - 7 待入库 - 8 完成 - 9审核未通过)') VARCHAR(10) 'Status'"`
|
|
|
|
|
Note string `json:"Note" xorm:"comment('备注') VARCHAR(255) 'Note'"`
|
|
Note string `json:"Note" xorm:"comment('备注') VARCHAR(255) 'Note'"`
|
|
|
ConclusionReason string `json:"ConclusionReason" xorm:"comment('不合格原因') VARCHAR(255) 'ConclusionReason'"`
|
|
ConclusionReason string `json:"ConclusionReason" xorm:"comment('不合格原因') VARCHAR(255) 'ConclusionReason'"`
|
|
|
Conclusion int `json:"Conclusion" xorm:"default 0 comment('0不合格,1观察使用,2合格,3优秀') INT(11) 'Conclusion'"`
|
|
Conclusion int `json:"Conclusion" xorm:"default 0 comment('0不合格,1观察使用,2合格,3优秀') INT(11) 'Conclusion'"`
|
|
@@ -48,7 +72,6 @@ type OilContractSumScore struct {
|
|
|
ModifiedUserId int `json:"ModifiedUserId" xorm:"INT(11) 'ModifiedUserId'"`
|
|
ModifiedUserId int `json:"ModifiedUserId" xorm:"INT(11) 'ModifiedUserId'"`
|
|
|
ModifiedBy string `json:"ModifiedBy" xorm:"VARCHAR(50) 'ModifiedBy'"`
|
|
ModifiedBy string `json:"ModifiedBy" xorm:"VARCHAR(50) 'ModifiedBy'"`
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
type OilContractComputeSumScoreVo struct {
|
|
type OilContractComputeSumScoreVo struct {
|
|
|
SupplierId int `json:"SupplierId"`
|
|
SupplierId int `json:"SupplierId"`
|
|
|
SupplierName string `json:"SupplierName"`
|
|
SupplierName string `json:"SupplierName"`
|