|
|
|
@ -79,6 +79,7 @@ public class AccessPlanV4ServiceImpl implements AccessPlanV4Service{
|
|
|
|
|
// 检修计划保存
|
|
|
|
|
entity.setCode("PLAN_" + DateUtil.format(DateUtil.now(), DateUtil.PATTERN_DATETIME_MINI) + new DecimalFormat("###").format(RandomUtils.nextInt(0, 999))); |
|
|
|
|
entity.setProcDefId("overhaul_plan"); |
|
|
|
|
entity.setActStartTime(new Date()); |
|
|
|
|
planService.save(entity); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -177,6 +178,7 @@ public class AccessPlanV4ServiceImpl implements AccessPlanV4Service{
|
|
|
|
|
if(ObjectUtil.isNotEmpty(variables.get("examine")) && (Boolean) variables.get("examine")){ |
|
|
|
|
entity.setTaskName("流程结束"); |
|
|
|
|
entity.setNextStepOperator("流程结束,无需人员处理"); |
|
|
|
|
entity.setActEndTime(new Date()); |
|
|
|
|
// 开启检修任务
|
|
|
|
|
this.startTaskProcess(entity); |
|
|
|
|
} |
|
|
|
|