|
|
|
|
@ -143,7 +143,10 @@ public class FmProjectApplicationController extends BladeController { |
|
|
|
|
List<Long> stoneIdList = oldStoneList.stream().map(BaseEntity::getId).collect(Collectors.toList()); |
|
|
|
|
fmProjectMilestoneService.deleteLogic(stoneIdList); |
|
|
|
|
List<FmProjectMilestoneEntity> stoneList = fmProjectApplication.getStoneList(); |
|
|
|
|
stoneList.forEach(item -> item.setId(null)); |
|
|
|
|
stoneList.forEach(item -> { |
|
|
|
|
item.setId(null); |
|
|
|
|
item.setPaId(fmProjectApplication.getId()); |
|
|
|
|
}); |
|
|
|
|
fmProjectMilestoneService.saveBatch(stoneList); |
|
|
|
|
return R.status(fmProjectApplicationService.updateById(fmProjectApplication)); |
|
|
|
|
} |
|
|
|
|
|