|
|
|
@ -2127,12 +2127,12 @@ public class WarehouseTrayTypeServiceImpl extends BaseServiceImpl<WarehouseTrayT
|
|
|
|
|
@Override |
|
|
|
|
public void downPackageByOrderPackageCode(String orderPackageCode,String remark,Long warehouseId) { |
|
|
|
|
QueryWrapper<WarehouseTrayGoodsEntity> trayGoodsQueryWrapper = new QueryWrapper<>(); |
|
|
|
|
DistributionParcelListEntity parcelListEntity = distributionParcelListClient.findByPacketBarCode(orderPackageCode); |
|
|
|
|
DistributionParcelListEntity parcelListEntity = distributionParcelListClient.findByPacketBarCodeAndWarehouseId(orderPackageCode,warehouseId); |
|
|
|
|
trayGoodsQueryWrapper.eq("association_type","3") |
|
|
|
|
.eq("association_value",orderPackageCode); |
|
|
|
|
WarehouseTrayGoodsEntity trayGoodsEntity = warehouseTrayGoodsService.getOne(trayGoodsQueryWrapper); |
|
|
|
|
StringBuffer stringBuffer = new StringBuffer(); |
|
|
|
|
if (Func.isNotEmpty(trayGoodsEntity)){ |
|
|
|
|
if (!Objects.isNull(trayGoodsEntity)){ |
|
|
|
|
Long trayGoodsId = trayGoodsEntity.getId(); |
|
|
|
|
Long trayTypeId = trayGoodsEntity.getTrayTypeId(); |
|
|
|
|
Long trayId = trayGoodsEntity.getTrayId(); |
|
|
|
|