完善市场法规库清单详情
This commit is contained in:
+3
-1
@@ -153,7 +153,9 @@ public class LawsMarketStandardServiceImpl extends ServiceImpl<LawsMarketStandar
|
||||
if(!Objects.equals(listCountry,listOldCountry)){
|
||||
manifest.setManifestNo(generateManifestNo(manifest.getCountry()));
|
||||
}
|
||||
String country = sysBaseAPI.translateDict("market_state",manifest.getCountry());
|
||||
Map<String, List<DictModel>> map = sysBaseAPI.translateManyDict("market_state",manifest.getCountry());
|
||||
List<DictModel> listDict = map.get("market_state");
|
||||
List<String> country = listDict.stream().map(DictModel::getText).collect(Collectors.toList());
|
||||
// 国家/地区+自定义+固定字段,自定义字段:预留手填,当前默认不填;固定字段:车型需满足标准法规清单
|
||||
manifest.setManifestName(country + manifest.getCustomColumnName() + "车型需满足标准法规清单");
|
||||
updateById(manifest);
|
||||
|
||||
Reference in New Issue
Block a user