|
@@ -511,6 +511,14 @@ public class ZhcxPmqManagementRecoredServiceImpl extends ServiceImpl<ZhcxPmqMana
|
|
|
return R.error("数据异常,请联系管理员");
|
|
|
}
|
|
|
String[] pidStr = pids.split(",");
|
|
|
+
|
|
|
+ // 需要删除第二层和第2.5层的数据
|
|
|
+ if(pidStr.length > 0){
|
|
|
+ List<String> pidList = Arrays.asList(pidStr);
|
|
|
+ // 删除数据
|
|
|
+ baseMapper.deleteDistributionByPid(pidList);
|
|
|
+ baseMapper.deleteDistributionDetailByPid(pidList);
|
|
|
+ }
|
|
|
// 第2.5层集合
|
|
|
List<ZhcxPmqManagementDistributionDo> resultList1 = new ArrayList<>();
|
|
|
// 第三层集合
|