|
|
@@ -949,7 +949,7 @@ func (this *OilSupplierCertAppendController) AppendSeparateAuditEntity() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// @Title 分办之后的各级审批 --审批 包含:二级单位初审、复审, 业务处室专业审核
|
|
|
+// @Title 分办之后的各级审批 --审批 包含:二级单位初审、复审, 业务处室专业审核、企管法规处审核
|
|
|
// @Description 分办之后的各级审批
|
|
|
// @Success 200 {object} controllers.Request
|
|
|
// @router /common-audit/:id [post]
|
|
|
@@ -981,7 +981,7 @@ func (this *OilSupplierCertAppendController) AppendCommonAuditEntity() {
|
|
|
|
|
|
cols := []string{"AuditDate"}
|
|
|
supplierCertAppendEntity.AuditDate = time.Now()
|
|
|
- certSrv.UpdateEntityBywheretbl(OilSupplierCertAppendName, &supplierCertAppendEntity, cols, "Id = " + certAppendId)
|
|
|
+ certSrv.UpdateEntityBywheretbl(OilSupplierCertAppendName, &supplierCertAppendEntity, cols, "Id = "+certAppendId)
|
|
|
|
|
|
svcActiviti := workflow.GetActivitiService(utils.DBE)
|
|
|
var ActiComplete workflow.ActiCompleteVM
|
|
|
@@ -1169,7 +1169,7 @@ func (this *OilSupplierCertAppendController) UpdateIsStorage() {
|
|
|
// 审核日期
|
|
|
cols := []string{"AuditDate"}
|
|
|
supplierCertAppendEntity.AuditDate = time.Now()
|
|
|
- certAppendSrv.UpdateEntityBywheretbl(OilSupplierCertAppendName, &supplierCertAppendEntity, cols, "Id = " + id)
|
|
|
+ certAppendSrv.UpdateEntityBywheretbl(OilSupplierCertAppendName, &supplierCertAppendEntity, cols, "Id = "+id)
|
|
|
|
|
|
svcActiviti := workflow.GetActivitiService(utils.DBE)
|
|
|
var ActiComplete workflow.ActiCompleteVM
|
|
|
@@ -1190,7 +1190,7 @@ func (this *OilSupplierCertAppendController) UpdateIsStorage() {
|
|
|
svc := supplierfile.GetSupplierfileService(utils.DBE)
|
|
|
cols := []string{"SupType"}
|
|
|
file.SupType = 3
|
|
|
- svc.UpdateEntityBywheretbl(OilSupplierFileName, &file, cols, "SupType = 2 and SupplierId = " + strconv.Itoa(supplierCertAppendEntity.SupplierId))
|
|
|
+ svc.UpdateEntityBywheretbl(OilSupplierFileName, &file, cols, "SupType = 2 and SupplierId = "+strconv.Itoa(supplierCertAppendEntity.SupplierId))
|
|
|
}
|
|
|
|
|
|
}
|