feat: 三标详情通用接口source字段改为数字

This commit is contained in:
2024-02-02 11:24:33 +08:00
parent 8a19234927
commit dce19237a7
@@ -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<LawsOverseasStandard>()
@@ -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<LawsEnterpriseStandard>()
@@ -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;