|
|
@@ -448,7 +448,6 @@ public class CoreDrillPlanServiceImpl extends ServiceImpl<CoreDrillPlanMapper, C
|
|
|
|
|
|
}
|
|
|
}
|
|
|
- coreDrillPlanMapper.deleteBatchIds(planIdList);
|
|
|
coreDrillPlanToRoleMapper.delete(new LambdaQueryWrapper<CoreDrillPlanToRole>()
|
|
|
.in(CoreDrillPlanToRole::getPlanId, planIdList));
|
|
|
coreDrillPlanToExecOrgMapper.delete(new LambdaQueryWrapper<CoreDrillPlanToExecOrg>()
|
|
|
@@ -606,6 +605,7 @@ public class CoreDrillPlanServiceImpl extends ServiceImpl<CoreDrillPlanMapper, C
|
|
|
}
|
|
|
if (checkOrgType(plan.getExecOrgType())){
|
|
|
planList.add(plan);
|
|
|
+ plan.setParentId(plan.getId());
|
|
|
}
|
|
|
//下发后修改为使用中
|
|
|
plan.setPlanStatus(DrillPlanStatus.USING.getCode());
|