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