|
|
@ -306,7 +306,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
huzhouPlaninfo1.setActualEndTime(new Date()); |
|
|
|
planinfoService.updateById(huzhouPlaninfo1); |
|
|
|
|
|
|
|
} else if ("可研报告送审稿编制".equals(taskName)) { |
|
|
|
} else if ("可研报告终稿编制".equals(taskName)) { |
|
|
|
//finalFeasibilityReportDraft
|
|
|
|
WorkFlow workFlow = workflowService.createFlow("finalFeasibilityReportDraft",planinfoid); |
|
|
|
Task task = workFlow.getTask(); |
|
|
@ -451,10 +451,11 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
if(processInstance==null&&"1".equals(flag)){ |
|
|
|
HuzhouPlaninfo byId = planinfoService.getById(planinfoid); |
|
|
|
String taskName = StrUtil.trim(byId.getTaskName()); |
|
|
|
if("可研报告送审稿编制".equals(taskName)){ |
|
|
|
if("可研报告终稿编制".equals(taskName)){ |
|
|
|
//查询是否已有完成的流程。有两个以上
|
|
|
|
queryWrapper.clear(); |
|
|
|
queryWrapper.eq(HuzhouProcessinfo::getProjectid,planinfoid); |
|
|
|
|
|
|
|
processinfos = processinfoService.list(queryWrapper); |
|
|
|
|
|
|
|
if(processinfos.size()>=2){ |
|
|
|