Commit e4444f67 authored by zhengyi's avatar zhengyi

错误代码修复

parent 156f8582
...@@ -2183,7 +2183,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements ...@@ -2183,7 +2183,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
if (boxTallyDO != null) { if (boxTallyDO != null) {
BeanUtils.copyProperties(boxTallyDO, boxTallyBackVO); BeanUtils.copyProperties(boxTallyDO, boxTallyBackVO);
} }
Set<String> allWarehouseInAttrNameList = orderGoodsItemList.stream().map(BoxPreloadGoodsBackVO::getWarehouseInAttrNameList).collect(Collectors.toSet()); Set<String> allWarehouseInAttrNameList = orderGoodsItemList.stream().map(BoxPreloadGoodsBackVO::getWarehouseInAttrNameList).flatMap(List::stream).collect(Collectors.toSet());
boxTallyBackVO.setAllWarehouseInAttrNameList(allWarehouseInAttrNameList); boxTallyBackVO.setAllWarehouseInAttrNameList(allWarehouseInAttrNameList);
BoxPreloadGoodsBackVO boxPreloadGoodsDO = orderGoodsItemList.get(0); BoxPreloadGoodsBackVO boxPreloadGoodsDO = orderGoodsItemList.get(0);
boxTallyBackVO.setAdvanceType(boxPreloadGoodsDO.getAdvanceType()); boxTallyBackVO.setAdvanceType(boxPreloadGoodsDO.getAdvanceType());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment