修改市场法规清单复制功能

This commit is contained in:
梁琦涛
2024-08-28 15:35:45 +08:00
parent 6cb860a2f7
commit d5564f24d9
@@ -488,7 +488,7 @@ public class LawsMarketStandardDetailServiceImpl extends ServiceImpl<LawsMarketS
return Result.error(ResultCommon.NO_CORRESPONDING_DATA_FOUND);
}
// 国家地区拼接
String allCountry = lawsMarketStandard.getCountry() + "," + lawsMarketStandardOld.getCountry();
String allCountry = lawsMarketStandard.getCountry();
List<String> listAllCountry = Arrays.stream(allCountry.split(",")).distinct().collect(Collectors.toList());
setDataByCopy(newId, listOld,String.join(",",listAllCountry));