|
@@ -227,6 +227,15 @@ public class FlowQueryRecordServiceImpl implements IFlowQueryRecordService {
|
|
|
//转换类型
|
|
|
List<ExportFlowQueryRecordRes> flowQueryRecordBeanList = list.stream()
|
|
|
.parallel().map(s -> {
|
|
|
+ // 查询sku
|
|
|
+ String skuCode = s.getSkuCode();
|
|
|
+ if (StringUtils.isNotBlank(skuCode)) {
|
|
|
+ SkuFeign.Sku sku = skuFeign.getSkuByCode(skuCode);
|
|
|
+ if (sku != null) {
|
|
|
+ s.setSkuName(sku.getSkuName());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
ExportFlowQueryRecordRes flowQueryRecordBean = new ExportFlowQueryRecordRes();
|
|
|
BeanUtil.copyProperties(s, flowQueryRecordBean);
|
|
|
|