From dce19237a7681e915c4119bdcf17cfd6932e9beb Mon Sep 17 00:00:00 2001 From: caihaohan Date: Fri, 2 Feb 2024 11:24:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=89=E6=A0=87=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=80=9A=E7=94=A8=E6=8E=A5=E5=8F=A3source=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E6=95=B0=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../laws/common/service/impl/LawsCommonServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java index 64a3abd0..08653c69 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java @@ -2479,7 +2479,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService { if (gbStandard != null) { this.addLookHistory(gbStandard.getId(), "1", TableNameEnum.DOMESTIC_REGULATIONS.getValue(), standardNumber); result = this.getByIdAndModule(gbStandard.getId(), TableNameEnum.DOMESTIC_REGULATIONS.getValue(), "1", standardNumber); - result.put("source", TableNameEnum.DOMESTIC_REGULATIONS.getName()); + result.put("source", TableNameEnum.DOMESTIC_REGULATIONS.getValue()); return result; } LawsOverseasStandard fbStandard = lawsOverseasStandardService.getOne(new LambdaQueryWrapper() @@ -2487,7 +2487,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService { if (fbStandard != null) { this.addLookHistory(fbStandard.getId(), "1", TableNameEnum.FOREIGN_REGULATIONS.getValue(), standardNumber); result = this.getByIdAndModule(fbStandard.getId(), TableNameEnum.FOREIGN_REGULATIONS.getValue(), "1", standardNumber); - result.put("source", TableNameEnum.FOREIGN_REGULATIONS.getName()); + result.put("source", TableNameEnum.FOREIGN_REGULATIONS.getValue()); return result; } LawsEnterpriseStandard esStandard = lawsEnterpriseStandardService.getOne(new LambdaQueryWrapper() @@ -2495,7 +2495,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService { if (esStandard != null) { this.addLookHistory(esStandard.getId(), "1", TableNameEnum.ENTERPRISE_STANDARDS.getValue(), standardNumber); result = this.getByIdAndModule(esStandard.getId(), TableNameEnum.ENTERPRISE_STANDARDS.getValue(), "1", standardNumber); - result.put("source", TableNameEnum.ENTERPRISE_STANDARDS.getName()); + result.put("source", TableNameEnum.ENTERPRISE_STANDARDS.getValue()); return result; } return null;