|
|
|
@ -933,6 +933,10 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
if(!Objects.isNull(trayEntity)){ |
|
|
|
|
//绑定了托盘
|
|
|
|
|
warehouseTrayTypeService.deleteZeroOrderByTrayCode(orderCode,trayEntity.getPalletCode()); |
|
|
|
|
|
|
|
|
|
//解除托盘与库位绑定
|
|
|
|
|
warehouseTaryAllocationService.deleteByTrayIdAndAllocationId(trayEntity.getId(),allocationId); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
//全部下架
|
|
|
|
|
Integer residue = warehouseUpdownGoodsService.deleteByUpdownGoodsId(updownGoodsId); |
|
|
|
@ -1035,6 +1039,9 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
|
|
|
|
|
//绑定了托盘
|
|
|
|
|
warehouseTrayTypeService.deleteStockByTrayGoodsId(trayGoodsEntity.getId()); |
|
|
|
|
|
|
|
|
|
//解绑托盘和库位
|
|
|
|
|
warehouseTaryAllocationService.deleteByTrayIdAndAllocationId(trayId,allocationId); |
|
|
|
|
} |
|
|
|
|
//全部下架
|
|
|
|
|
Integer residue = warehouseUpdownGoodsService.deleteByUpdownGoodsId(updownGoodsId); |
|
|
|
|