|
|
@ -166,7 +166,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
HuzhouPlaninfo target = new HuzhouPlaninfo(); |
|
|
|
BeanUtils.copyProperties(source,target,"id","actualStartTime","actualEndTime"); |
|
|
|
target.setTaskName("提交终验申请"); |
|
|
|
target.setTaskFile("《提交终验申请》"); |
|
|
|
target.setTaskFile("《联合验收报审表》"); |
|
|
|
target.setIsfinish("0"); |
|
|
|
// 设置日期为 2025-12-31
|
|
|
|
LocalDate targetLocalDate = LocalDate.of(2025, 12, 31); |
|
|
@ -180,7 +180,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
HuzhouPlaninfo target2 = new HuzhouPlaninfo(); |
|
|
|
BeanUtils.copyProperties(source,target2,"id","actualStartTime","actualEndTime"); |
|
|
|
target2.setTaskName("联合验收审批"); |
|
|
|
target2.setTaskFile("《验收文件》"); |
|
|
|
target2.setTaskFile("《联合验收材料》"); |
|
|
|
target2.setIsfinish("0"); |
|
|
|
target2.setScheduledStartTime(setDate); |
|
|
|
target2.setScheduledEndTime(setDate); |
|
|
@ -399,7 +399,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
HuzhouPlaninfo target = new HuzhouPlaninfo(); |
|
|
|
BeanUtils.copyProperties(source, target, "id", "actualStartTime", "actualEndTime"); |
|
|
|
target.setTaskName("提交核验申请"); |
|
|
|
target.setTaskFile("《验收文件》"); |
|
|
|
target.setTaskFile("《集中核验报审表》"); |
|
|
|
target.setIsfinish("0"); |
|
|
|
// 设置日期为 2025-12-31
|
|
|
|
LocalDate targetLocalDate = LocalDate.of(2025, 12, 31); |
|
|
@ -413,7 +413,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
HuzhouPlaninfo target2 = new HuzhouPlaninfo(); |
|
|
|
BeanUtils.copyProperties(source, target2, "id", "actualStartTime", "actualEndTime"); |
|
|
|
target2.setTaskName("部门集中核验"); |
|
|
|
target2.setTaskFile("《验收文件》"); |
|
|
|
target2.setTaskFile("《集中核验材料》"); |
|
|
|
target2.setIsfinish("0"); |
|
|
|
target2.setScheduledStartTime(setDate); |
|
|
|
target2.setScheduledEndTime(setDate); |
|
|
@ -423,7 +423,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
HuzhouPlaninfo target3 = new HuzhouPlaninfo(); |
|
|
|
BeanUtils.copyProperties(source, target3, "id", "actualStartTime", "actualEndTime"); |
|
|
|
target3.setTaskName("上传核验报告"); |
|
|
|
target3.setTaskFile("《验收文件》"); |
|
|
|
target3.setTaskFile("《核验意见书》"); |
|
|
|
target3.setIsfinish("0"); |
|
|
|
target3.setScheduledStartTime(setDate); |
|
|
|
target3.setScheduledEndTime(setDate); |
|
|
@ -442,7 +442,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
queryWrapper.eq(HuzhouPlaninfo::getIsfinish,"2"); |
|
|
|
HuzhouPlaninfo target = planinfoMapper.selectOne(queryWrapper); |
|
|
|
if (target==null){ |
|
|
|
//throw new EasyException("请先完成:联合验收审批!");
|
|
|
|
throw new EasyException("请先完成:联合验收审批!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -454,7 +454,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
queryWrapper.eq(HuzhouPlaninfo::getIsfinish,"2"); |
|
|
|
HuzhouPlaninfo target = planinfoMapper.selectOne(queryWrapper); |
|
|
|
if (target==null){ |
|
|
|
//throw new EasyException("请先完成:终验阶段!");
|
|
|
|
throw new EasyException("请先完成:终验阶段!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -466,7 +466,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
queryWrapper.eq(HuzhouPlaninfo::getIsfinish,"2"); |
|
|
|
HuzhouPlaninfo target = planinfoMapper.selectOne(queryWrapper); |
|
|
|
if (target==null){ |
|
|
|
//throw new EasyException("请先完成:部门集中核验!");
|
|
|
|
throw new EasyException("请先完成:部门集中核验!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -478,7 +478,7 @@ public class HuzhouPlaninfofileServiceImpl extends ServiceImpl<HuzhouPlaninfofil |
|
|
|
queryWrapper.eq(HuzhouPlaninfo::getIsfinish,"2"); |
|
|
|
HuzhouPlaninfo target = planinfoMapper.selectOne(queryWrapper); |
|
|
|
if (target==null){ |
|
|
|
//throw new EasyException("请先完成:上传核验报告!");
|
|
|
|
throw new EasyException("请先完成:上传核验报告!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|