fix: 88187 外来标准法规文本库--代替标准的被代替标准编号显示了标准本身
This commit is contained in:
+1
-1
@@ -1348,7 +1348,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
|||||||
Map<String, Object> stringObjectMap = processResultMap(initMap, fieldList);
|
Map<String, Object> stringObjectMap = processResultMap(initMap, fieldList);
|
||||||
|
|
||||||
if (module.equals(TableNameEnum.ENTERPRISE_STANDARDS.getValue())) {
|
if (module.equals(TableNameEnum.ENTERPRISE_STANDARDS.getValue())) {
|
||||||
// 企标独有的稽查内容列表
|
// 企标独有的监察内容列表
|
||||||
LambdaQueryWrapper<EnterpriseStandardInspectContent> esIcWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<EnterpriseStandardInspectContent> esIcWrapper = new LambdaQueryWrapper<>();
|
||||||
esIcWrapper.eq(EnterpriseStandardInspectContent::getStandardId, id);
|
esIcWrapper.eq(EnterpriseStandardInspectContent::getStandardId, id);
|
||||||
List<EnterpriseStandardInspectContent> list = esInspectContentService.list(esIcWrapper);
|
List<EnterpriseStandardInspectContent> list = esInspectContentService.list(esIcWrapper);
|
||||||
|
|||||||
+1
@@ -131,6 +131,7 @@ public class LawsReplacedStandardServiceImpl extends ServiceImpl<LawsReplacedSta
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
List<String> replacedByList = replacedStandardList.stream()
|
List<String> replacedByList = replacedStandardList.stream()
|
||||||
|
.filter(e -> e.getReplaced().equals(e.getReplaced().split("《")[0]))
|
||||||
.map(LawsReplacedStandard::getReplacedBy).collect(Collectors.toList());
|
.map(LawsReplacedStandard::getReplacedBy).collect(Collectors.toList());
|
||||||
return StringUtils.join(replacedByList, ",");
|
return StringUtils.join(replacedByList, ",");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user