|
@@ -268,7 +268,7 @@ public class KwpGoodsService {
|
|
|
}
|
|
}
|
|
|
List<SysDictResDto> types = remoteSystemService.queryDictFrontAll(DictTypeEnum.PRODUCT_NAME_TYPE.getType(), detail.getGoodsType());
|
|
List<SysDictResDto> types = remoteSystemService.queryDictFrontAll(DictTypeEnum.PRODUCT_NAME_TYPE.getType(), detail.getGoodsType());
|
|
|
if (CollectionUtils.isNotEmpty(types)) {
|
|
if (CollectionUtils.isNotEmpty(types)) {
|
|
|
- detail.setGoodsTypes(types.stream().map(SysDictResDto::getType).toList());
|
|
|
|
|
|
|
+ detail.setGoodsTypes(types.stream().map(SysDictResDto::getValue).toList());
|
|
|
}
|
|
}
|
|
|
detail.setGoodsTypeLabel(CollectionUtils.isNotEmpty(productNameMap) ? productNameMap.get(detail.getGoodsType()) : null)
|
|
detail.setGoodsTypeLabel(CollectionUtils.isNotEmpty(productNameMap) ? productNameMap.get(detail.getGoodsType()) : null)
|
|
|
.setUnitLabel(CollectionUtils.isNotEmpty(unitMap) ? unitMap.get(detail.getUnit()) : null)
|
|
.setUnitLabel(CollectionUtils.isNotEmpty(unitMap) ? unitMap.get(detail.getUnit()) : null)
|