Commit bacd454f authored by zhengyi's avatar zhengyi

到仓数据值冗余到订单项的bug修复

parent 872c6f75
...@@ -117,10 +117,10 @@ public class OrderWarehouseCheckServiceImpl ...@@ -117,10 +117,10 @@ public class OrderWarehouseCheckServiceImpl
for (OrderItemDO orderItemDO : orderItemDOList) { for (OrderItemDO orderItemDO : orderItemDOList) {
OrderItemCheckWarehouseVO orderItemCheckWarehouseVO = new OrderItemCheckWarehouseVO(); OrderItemCheckWarehouseVO orderItemCheckWarehouseVO = new OrderItemCheckWarehouseVO();
BeanUtils.copyProperties(orderItemDO, orderItemCheckWarehouseVO); BeanUtils.copyProperties(orderItemDO, orderItemCheckWarehouseVO);
orderItemDO.setCheckBrand(orderItemDO.getBrand()); orderItemCheckWarehouseVO.setCheckBrand(orderItemDO.getBrand());
orderItemDO.setCheckBrandType(orderItemDO.getFeeType()); orderItemCheckWarehouseVO.setCheckBrandType(orderItemDO.getFeeType());
orderItemDO.setCheckMaterial(orderItemDO.getMaterial()); orderItemCheckWarehouseVO.setCheckMaterial(orderItemDO.getMaterial());
orderItemDO.setWarehouseCheckProdAttrIds(orderItemDO.getWarehouseInProdAttrIds()); orderItemCheckWarehouseVO.setCheckProdAttrIds(orderItemDO.getWarehouseInProdAttrIds());
WarehouseCheckInfoVO warehouseCheckInfoVO = orderItemSetWarehouseCheckInfoVO(orderItemDO.getBoxGauge(), warehouseCheckDOListMap.get(orderItemDO.getOrderItemId())); WarehouseCheckInfoVO warehouseCheckInfoVO = orderItemSetWarehouseCheckInfoVO(orderItemDO.getBoxGauge(), warehouseCheckDOListMap.get(orderItemDO.getOrderItemId()));
orderItemCheckWarehouseVO.setWarehouseCheckInfoVO(warehouseCheckInfoVO); orderItemCheckWarehouseVO.setWarehouseCheckInfoVO(warehouseCheckInfoVO);
orderItemCheckWarehouseVOMap.put(orderItemDO.getOrderItemId(), orderItemCheckWarehouseVO); orderItemCheckWarehouseVOMap.put(orderItemDO.getOrderItemId(), orderItemCheckWarehouseVO);
...@@ -167,10 +167,10 @@ public class OrderWarehouseCheckServiceImpl ...@@ -167,10 +167,10 @@ public class OrderWarehouseCheckServiceImpl
for (OrderItemDO orderItemDO : orderItemDOList) { for (OrderItemDO orderItemDO : orderItemDOList) {
OrderItemCheckWarehouseVO orderItemCheckWarehouseVO = new OrderItemCheckWarehouseVO(); OrderItemCheckWarehouseVO orderItemCheckWarehouseVO = new OrderItemCheckWarehouseVO();
BeanUtils.copyProperties(orderItemDO, orderItemCheckWarehouseVO); BeanUtils.copyProperties(orderItemDO, orderItemCheckWarehouseVO);
orderItemDO.setCheckBrand(orderItemDO.getBrand()); orderItemCheckWarehouseVO.setCheckBrand(orderItemDO.getBrand());
orderItemDO.setCheckBrandType(orderItemDO.getFeeType()); orderItemCheckWarehouseVO.setCheckBrandType(orderItemDO.getFeeType());
orderItemDO.setCheckMaterial(orderItemDO.getMaterial()); orderItemCheckWarehouseVO.setCheckMaterial(orderItemDO.getMaterial());
orderItemDO.setWarehouseCheckProdAttrIds(orderItemDO.getWarehouseInProdAttrIds()); orderItemCheckWarehouseVO.setCheckProdAttrIds(orderItemDO.getWarehouseInProdAttrIds());
WarehouseCheckInfoVO warehouseCheckInfoVO = orderItemSetWarehouseCheckInfoVO(orderItemDO.getBoxGauge(), warehouseCheckDOListMap.get(orderItemDO.getOrderItemId())); WarehouseCheckInfoVO warehouseCheckInfoVO = orderItemSetWarehouseCheckInfoVO(orderItemDO.getBoxGauge(), warehouseCheckDOListMap.get(orderItemDO.getOrderItemId()));
orderItemCheckWarehouseVO.setWarehouseCheckInfoVO(warehouseCheckInfoVO); orderItemCheckWarehouseVO.setWarehouseCheckInfoVO(warehouseCheckInfoVO);
orderItemCheckWarehouseVOMap.put(orderItemDO.getOrderItemId(), orderItemCheckWarehouseVO); orderItemCheckWarehouseVOMap.put(orderItemDO.getOrderItemId(), orderItemCheckWarehouseVO);
...@@ -209,10 +209,10 @@ public class OrderWarehouseCheckServiceImpl ...@@ -209,10 +209,10 @@ public class OrderWarehouseCheckServiceImpl
Map<Long, OrderItemCheckWarehouseVO> orderItemCheckWarehouseVOMap = new HashMap<>(); Map<Long, OrderItemCheckWarehouseVO> orderItemCheckWarehouseVOMap = new HashMap<>();
OrderItemCheckWarehouseVO orderItemCheckWarehouseVO = new OrderItemCheckWarehouseVO(); OrderItemCheckWarehouseVO orderItemCheckWarehouseVO = new OrderItemCheckWarehouseVO();
BeanUtils.copyProperties(orderItemDO, orderItemCheckWarehouseVO); BeanUtils.copyProperties(orderItemDO, orderItemCheckWarehouseVO);
orderItemDO.setCheckBrand(orderItemDO.getBrand()); orderItemCheckWarehouseVO.setCheckBrand(orderItemDO.getBrand());
orderItemDO.setCheckBrandType(orderItemDO.getFeeType()); orderItemCheckWarehouseVO.setCheckBrandType(orderItemDO.getFeeType());
orderItemDO.setCheckMaterial(orderItemDO.getMaterial()); orderItemCheckWarehouseVO.setCheckMaterial(orderItemDO.getMaterial());
orderItemDO.setWarehouseCheckProdAttrIds(orderItemDO.getWarehouseInProdAttrIds()); orderItemCheckWarehouseVO.setCheckProdAttrIds(orderItemDO.getWarehouseInProdAttrIds());
WarehouseCheckInfoVO warehouseCheckInfoVO = orderItemSetWarehouseCheckInfoVO(orderItemDO.getBoxGauge(), newWarehouseCheckDOList); WarehouseCheckInfoVO warehouseCheckInfoVO = orderItemSetWarehouseCheckInfoVO(orderItemDO.getBoxGauge(), newWarehouseCheckDOList);
orderItemCheckWarehouseVO.setWarehouseCheckInfoVO(warehouseCheckInfoVO); orderItemCheckWarehouseVO.setWarehouseCheckInfoVO(warehouseCheckInfoVO);
orderItemCheckWarehouseVOMap.put(orderItemDO.getOrderItemId(), orderItemCheckWarehouseVO); orderItemCheckWarehouseVOMap.put(orderItemDO.getOrderItemId(), orderItemCheckWarehouseVO);
......
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