|
|
@@ -1585,6 +1585,13 @@ func (this *InfoChangeController) CompanyAuditEntity() {
|
|
|
panic("工作流已经启动,请刷新重试!")
|
|
|
}
|
|
|
|
|
|
+ stepCode := workflow.SUB_OFFICE_BG
|
|
|
+ auditSettingService := auditsetting.GetOilAuditSettingService(utils.DBE)
|
|
|
+ approverIds := auditSettingService.GetApproverIdsByStepCodeAndUnitId(stepCode, infoChangeEntity.CommitComId)
|
|
|
+ if approverIds == ""{
|
|
|
+ panic("该分办单位未配置审批人")
|
|
|
+ }
|
|
|
+
|
|
|
svcActiviti := workflow.GetActivitiService(utils.DBE)
|
|
|
//启动工作流
|
|
|
businessKey := infoChangeEntity.BusinessKey
|
|
|
@@ -1612,12 +1619,6 @@ func (this *InfoChangeController) CompanyAuditEntity() {
|
|
|
infoChangeEntity.WorkFlowId = processInstanceId
|
|
|
infoChangeEntity.CommitComId = unitId
|
|
|
|
|
|
- stepCode := workflow.SUB_OFFICE_BG
|
|
|
- auditSettingService := auditsetting.GetOilAuditSettingService(utils.DBE)
|
|
|
- approverIds := auditSettingService.GetApproverIdsByStepCodeAndUnitId(stepCode, infoChangeEntity.CommitComId)
|
|
|
- if approverIds == ""{
|
|
|
- panic("该分办单位未配置审批人")
|
|
|
- }
|
|
|
infoSrv.UpdateEntityByIdCols(infoId, infoChangeEntity, cols)
|
|
|
|
|
|
var ActiComplete workflow.ActiCompleteVM
|