Browse Source

修改条件判断

training
caoyizhong 1 year ago
parent
commit
19f1c401c7
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java

@ -1823,7 +1823,7 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
String trayCode= stockupDTO.getTrayBarCode() ;
//货位下架
R r = warehouseUpdownTypeClient.downTray(trayCode,warehouseId );
if(r.getCode() != 200){
if(ObjectUtils.isNull(r) || ObjectUtils.isNotNull(r) && r.getCode() != 200){
throw new ServiceException("下架失败!!");
}
//TODO 其他操作

Loading…
Cancel
Save