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;