Browse Source

修改备货的判断条件

newStockUp
pref_mail@163.com 1 year ago
parent
commit
247d5de019
  1. 3
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java

3
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java

@ -761,9 +761,8 @@ public class DistributionStockupAppController extends BladeController {
if(ObjectUtils.isNull(list)){
return Resp.scanFail("没有查询到包件信息 ! ","没有查询到包件信息 ! ");
}
if(!list.get(0).getConditions().equals("2")){
if(list.get(0).getConditions()!=2){
return Resp.scanFail("当前包件不是库存品,无法备货!!","当前包件不是库存品,无法备货!!");
}
WarehouseUpdownGoodsEntity warehouseUpdownGoodsEntity = new WarehouseUpdownGoodsEntity();
warehouseUpdownGoodsEntity.setAllocationId(stockupDTO.getAllocationId());

Loading…
Cancel
Save