Commit bacd454f authored by zhengyi's avatar zhengyi

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

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