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