From 5f41a981c0bd505c9648822538259c5b66fd002d Mon Sep 17 00:00:00 2001 From: caihaohan Date: Wed, 31 Jul 2024 17:10:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=96=E6=A0=87=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=B2=A1=E5=88=A0=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standard/controller/LawsDomesticController.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/standard/controller/LawsDomesticController.java b/laws-modules/src/main/java/com/jero/modules/laws/standard/controller/LawsDomesticController.java index 08841e96..9f067faa 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/standard/controller/LawsDomesticController.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/standard/controller/LawsDomesticController.java @@ -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 = "国内法规标准-配置标准")