Browse Source

1.库内作业,零担打托上架数量优化

training
zhenghaoyu 2 years ago
parent
commit
01fc65486d
  1. 2
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseTrayTypeMapper.xml
  2. 2
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownTypeServiceImpl.java

2
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseTrayTypeMapper.xml

@ -61,7 +61,7 @@
<select id="getZeroOrderByWaybillCode" resultType="com.logpm.warehouse.vo.TrayTypeDataListVO"> <select id="getZeroOrderByWaybillCode" resultType="com.logpm.warehouse.vo.TrayTypeDataListVO">
select ldsa.id dataId, select ldsa.id dataId,
ldsa.order_code dataCode, ldsa.order_code dataCode,
ldsa.total_number orderTotalNum ldsa.hand_quantity orderTotalNum
from logpm_distribution_stock_article ldsa from logpm_distribution_stock_article ldsa
where ldsa.is_deleted = 0 where ldsa.is_deleted = 0
and ldsa.is_zero = 1 and ldsa.is_zero = 1

2
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownTypeServiceImpl.java

@ -2022,7 +2022,7 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
private UpdownZeroOrderVO orderToUpdownZeroOrderVO(DistributionStockArticleEntity stockArticleEntity) { private UpdownZeroOrderVO orderToUpdownZeroOrderVO(DistributionStockArticleEntity stockArticleEntity) {
String orderCode = stockArticleEntity.getOrderCode(); String orderCode = stockArticleEntity.getOrderCode();
Long orderId = stockArticleEntity.getId(); Long orderId = stockArticleEntity.getId();
Integer totalNumber = stockArticleEntity.getTotalNumber(); Integer totalNumber = stockArticleEntity.getHandQuantity();
UpdownZeroOrderVO updownZeroOrderVO = new UpdownZeroOrderVO(); UpdownZeroOrderVO updownZeroOrderVO = new UpdownZeroOrderVO();
updownZeroOrderVO.setWaybillCode(stockArticleEntity.getWaybillNumber()); updownZeroOrderVO.setWaybillCode(stockArticleEntity.getWaybillNumber());
updownZeroOrderVO.setOrderCode(orderCode); updownZeroOrderVO.setOrderCode(orderCode);

Loading…
Cancel
Save