修改法规清单,studio发布不涉及不给法规待办
This commit is contained in:
+13
-11
@@ -9293,17 +9293,19 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectLawsInventoryEO.setInventoryAffirmDueDate(endTime);
|
projectLawsInventoryEO.setInventoryAffirmDueDate(endTime);
|
||||||
|
|
||||||
userIdList.add(projectLawsInventoryEO.getRegulationOwnerId());
|
userIdList.add(projectLawsInventoryEO.getRegulationOwnerId());
|
||||||
|
//如果都是不涉及就不发待办
|
||||||
ProcessInfoDetailEO processInfoDetailEO = new ProcessInfoDetailEO();
|
if (!projectLawsInventoryEO.getDesignFlowStatus().equals(ComplianceFlowStatusEnum.UNINVOLVED.getValue())
|
||||||
processInfoDetailEO.setProjectLawsInventoryId(projectLawsInventoryEO.getId());
|
&& !projectLawsInventoryEO.getVerifyFlowStatus().equals(ComplianceFlowStatusEnum.UNINVOLVED.getValue())) {
|
||||||
processInfoDetailEO.setUserId(projectLawsInventoryEO.getRegulationOwnerId());
|
ProcessInfoDetailEO processInfoDetailEO = new ProcessInfoDetailEO();
|
||||||
processInfoDetailEO.setTaskDefinitionKey(InventoryAffirmNodeEnum.REGULATION_OWNER_AUDIT.getKey());
|
processInfoDetailEO.setProjectLawsInventoryId(projectLawsInventoryEO.getId());
|
||||||
processInfoDetailEO.setEndTime(endTime);
|
processInfoDetailEO.setUserId(projectLawsInventoryEO.getRegulationOwnerId());
|
||||||
processInfoDetailEO.setCreateTime(new Date());
|
processInfoDetailEO.setTaskDefinitionKey(InventoryAffirmNodeEnum.REGULATION_OWNER_AUDIT.getKey());
|
||||||
processInfoDetailEO.setCreateBy(currentUser.getId());
|
processInfoDetailEO.setEndTime(endTime);
|
||||||
processInfoDetailEO.setStatus(TaskStatusEnum.NOT_DONE.getValue());
|
processInfoDetailEO.setCreateTime(new Date());
|
||||||
|
processInfoDetailEO.setCreateBy(currentUser.getId());
|
||||||
processInfoDetailEOList.add(processInfoDetailEO);
|
processInfoDetailEO.setStatus(TaskStatusEnum.NOT_DONE.getValue());
|
||||||
|
processInfoDetailEOList.add(processInfoDetailEO);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user