|
|
@@ -426,8 +426,12 @@ public class CoreDrillPlanServiceImpl extends ServiceImpl<CoreDrillPlanMapper, C
|
|
|
|
|
|
List<Long> longs = baseMapper.selectAllIdByParentId(plan.getId());
|
|
|
if (!longs.isEmpty()) {
|
|
|
- physicalDeleteMapper.deletedDrillPlanByIds(longs);
|
|
|
- coreDrillPlanToExecOrgService.deleteByPlanIds(longs);
|
|
|
+ longs.remove(plan.getId());
|
|
|
+ if(!longs.isEmpty()){
|
|
|
+ baseMapper.delByIds(longs);
|
|
|
+ }
|
|
|
+// physicalDeleteMapper.deletedDrillPlanByIds(longs);
|
|
|
+// coreDrillPlanToExecOrgService.deleteByPlanIds(longs);
|
|
|
}
|
|
|
|
|
|
|