|
|
@ -1540,8 +1540,12 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
removeByIds(toNullUpdownTypeIds); |
|
|
|
removeByIds(toNullUpdownTypeIds); |
|
|
|
|
|
|
|
if (!updateAllocationIds.isEmpty()) { |
|
|
|
basicdataGoodsAllocationClient.updateListAllocationStatus(updateAllocationIds, "1"); |
|
|
|
basicdataGoodsAllocationClient.updateListAllocationStatus(updateAllocationIds, "1"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (!deleteTrayAllocationList.isEmpty()) { |
|
|
|
warehouseTaryAllocationService.removeBatchByIds(deleteTrayAllocationList); |
|
|
|
warehouseTaryAllocationService.removeBatchByIds(deleteTrayAllocationList); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
updateUpdownTypeList.forEach(this::updateUpdownTypeNum); |
|
|
|
updateUpdownTypeList.forEach(this::updateUpdownTypeNum); |
|
|
|
|
|
|
|
|
|
|
@ -1794,7 +1798,6 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public R downZeroOrder(List<UpShelfZeroOrderDTO> upShelfPackageList, Long warehouseId, String remark) { |
|
|
|
public R downZeroOrder(List<UpShelfZeroOrderDTO> upShelfPackageList, Long warehouseId, String remark) { |
|
|
|
StringBuffer stringBuffer = new StringBuffer("下架零担订单成功"); |
|
|
|
StringBuffer stringBuffer = new StringBuffer("下架零担订单成功"); |
|
|
@ -3092,7 +3095,6 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void updateUpdownTypeNum(WarehouseUpdownTypeEntity updownTypeEntity) { |
|
|
|
private void updateUpdownTypeNum(WarehouseUpdownTypeEntity updownTypeEntity) { |
|
|
|
Long updownTypeId = updownTypeEntity.getId(); |
|
|
|
Long updownTypeId = updownTypeEntity.getId(); |
|
|
|
Long warehouseId = updownTypeEntity.getWarehouseId(); |
|
|
|
Long warehouseId = updownTypeEntity.getWarehouseId(); |
|
|
|