fix: 外标删除没删掉

This commit is contained in:
2024-07-31 17:11:39 +08:00
parent b5c53127ab
commit 5f41a981c0
@@ -153,13 +153,12 @@ public class LawsDomesticController {
// 删除校验
// processFbEntryChangeService.delCheck((String) parameterMap.get("ids"));
standardUtil.validDeleteStandard(Collections.singletonList((String) parameterMap.get("ids")));
// //删除标准时同步删除这个标准的收藏数据
// lawsStandardCollectionService.deleteByStandardId((String) parameterMap.get("ids"));
// // 删除标准时同步删除比对和拆分的相关数据
// splitInfoService.deleteByStandardId((String) parameterMap.get("ids"));
// compareInfoService.deleteByStandardId((String) parameterMap.get("ids"));
// return Result.OK(lawsCommonService.deleteByIdsAndModule((String) parameterMap.get("ids"), MODULE_VALUE));
return Result.OK();
//删除标准时同步删除这个标准的收藏数据
lawsStandardCollectionService.deleteByStandardId((String) parameterMap.get("ids"));
// 删除标准时同步删除比对和拆分的相关数据
splitInfoService.deleteByStandardId((String) parameterMap.get("ids"));
compareInfoService.deleteByStandardId((String) parameterMap.get("ids"));
return Result.OK(lawsCommonService.deleteByIdsAndModule((String) parameterMap.get("ids"), MODULE_VALUE));
}
@AutoLog(value = "国内法规标准-配置标准")