|
@@ -3838,7 +3838,9 @@ public R removeContractTreeNodeJudge(@RequestParam String ids) {
|
|
|
position.append(",").append(StringUtils.isNotEmpty(wbsTreeContract.getFullName()) ? wbsTreeContract.getFullName() : wbsTreeContract.getNodeName());
|
|
|
return wbsTreeContract.getPKeyId() + "";
|
|
|
}).distinct().collect(Collectors.toList());
|
|
|
-
|
|
|
+ if (idArray.isEmpty()) {
|
|
|
+ return R.fail("删除失败,该节点下有已填报的资料");
|
|
|
+ }
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("operationObjIds", idArray);
|
|
|
String positionStr="";
|