|
|
|
@ -283,12 +283,12 @@ public class ErpProjectPlanServiceImpl implements IErpProjectPlanService {
|
|
|
|
if(isValid){
|
|
|
|
if(isValid){
|
|
|
|
//TODO 做一些业务上的校验,判断是否需要校验
|
|
|
|
//TODO 做一些业务上的校验,判断是否需要校验
|
|
|
|
}
|
|
|
|
}
|
|
|
|
List<Long> businessIds = ids.stream().toList();
|
|
|
|
|
|
|
|
// 先删除子表
|
|
|
|
// 先删除子表
|
|
|
|
planStageMapper.delete(Wrappers.<ErpProjectPlanStage>lambdaQuery()
|
|
|
|
planStageMapper.delete(Wrappers.<ErpProjectPlanStage>lambdaQuery()
|
|
|
|
.in(ErpProjectPlanStage::getProjectPlanId, ids));
|
|
|
|
.in(ErpProjectPlanStage::getProjectPlanId, ids));
|
|
|
|
baseMapper.deleteByIds(ids);
|
|
|
|
baseMapper.deleteByIds(ids);
|
|
|
|
//删除工作流
|
|
|
|
//删除工作流
|
|
|
|
|
|
|
|
List<Long> businessIds = ids.stream().toList();
|
|
|
|
return remoteWorkflowService.deleteInstance(businessIds);
|
|
|
|
return remoteWorkflowService.deleteInstance(businessIds);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|