Browse Source

Merge remote-tracking branch 'origin/dev' into dev

dist.1.2.0^2
pref_mail@163.com 4 months ago
parent
commit
60d724ff55
  1. 2
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java

2
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java

@ -2690,6 +2690,7 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
records.forEach(item -> { records.forEach(item -> {
Long scanId = item.getCarsLoadScanId(); Long scanId = item.getCarsLoadScanId();
List<TrunklineScanZeroDetailVO> list = scanZeroDetailVOMap.get(scanId); List<TrunklineScanZeroDetailVO> list = scanZeroDetailVOMap.get(scanId);
if(CollUtil.isNotEmpty(list)){
//把list中所有元素的goodsName用逗号拼起来 //把list中所有元素的goodsName用逗号拼起来
String loadingGoods = list.stream() String loadingGoods = list.stream()
.map(t-> t.getGoodsName()+"("+t.getLoadingNum()+")") .map(t-> t.getGoodsName()+"("+t.getLoadingNum()+")")
@ -2700,6 +2701,7 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
.collect(Collectors.joining(",")); .collect(Collectors.joining(","));
item.setLoadingGoods(loadingGoods); item.setLoadingGoods(loadingGoods);
item.setUnloadGoods(unloadGoods); item.setUnloadGoods(unloadGoods);
}
}); });
} }
pageList.setRecords(records); pageList.setRecords(records);

Loading…
Cancel
Save