|
@ -104,7 +104,7 @@ public class WarehouseStorageOrderServiceImpl implements IWarehouseStorageOrderS |
|
|
{ |
|
|
{ |
|
|
String loginName = ShiroUtils.getLoginName(); |
|
|
String loginName = ShiroUtils.getLoginName(); |
|
|
warehouseStorageOrder.setUpdateBy(loginName); |
|
|
warehouseStorageOrder.setUpdateBy(loginName); |
|
|
warehouseStorageOrder.setUpdateTime(DateUtils.getNowDate()); |
|
|
warehouseStorageOrder.setUpdateTime(new Date()); |
|
|
|
|
|
|
|
|
List<WarehouseStorageOrderDetail> storageOrderDetailList = warehouseStorageOrder.getWarehouseStorageOrderDetailList(); |
|
|
List<WarehouseStorageOrderDetail> storageOrderDetailList = warehouseStorageOrder.getWarehouseStorageOrderDetailList(); |
|
|
|
|
|
|
|
@ -145,6 +145,8 @@ public class WarehouseStorageOrderServiceImpl implements IWarehouseStorageOrderS |
|
|
warehouseStorageOrder.setUpdateBy(loginName); |
|
|
warehouseStorageOrder.setUpdateBy(loginName); |
|
|
warehouseStorageOrder.setUpdateTime(DateUtils.getNowDate()); |
|
|
warehouseStorageOrder.setUpdateTime(DateUtils.getNowDate()); |
|
|
warehouseStorageOrder.setWarehouseStorageStatus("1"); |
|
|
warehouseStorageOrder.setWarehouseStorageStatus("1"); |
|
|
|
|
|
//设置暂存时间
|
|
|
|
|
|
warehouseStorageOrder.setTemporaryTime(new Date()); |
|
|
updateWarehouseStorageOrderDetails(warehouseStorageOrder); |
|
|
updateWarehouseStorageOrderDetails(warehouseStorageOrder); |
|
|
|
|
|
|
|
|
int updateResult = warehouseStorageOrderMapper.updateWarehouseStorageOrder(warehouseStorageOrder); |
|
|
int updateResult = warehouseStorageOrderMapper.updateWarehouseStorageOrder(warehouseStorageOrder); |
|
@ -178,6 +180,8 @@ public class WarehouseStorageOrderServiceImpl implements IWarehouseStorageOrderS |
|
|
warehouseStorageOrder.setWarehouseStorageStatus("2"); |
|
|
warehouseStorageOrder.setWarehouseStorageStatus("2"); |
|
|
//目前假设全部品质
|
|
|
//目前假设全部品质
|
|
|
warehouseStorageOrder.setWarehouseQualityStatus("2"); |
|
|
warehouseStorageOrder.setWarehouseQualityStatus("2"); |
|
|
|
|
|
//设置品质时间
|
|
|
|
|
|
warehouseStorageOrder.setQualityTime(new Date()); |
|
|
for (QualityOrderDetail qualityOrderDetail : qualityOrderDetailList) { |
|
|
for (QualityOrderDetail qualityOrderDetail : qualityOrderDetailList) { |
|
|
WarehouseStorageOrderDetail storageOrderDetail = new WarehouseStorageOrderDetail(); |
|
|
WarehouseStorageOrderDetail storageOrderDetail = new WarehouseStorageOrderDetail(); |
|
|
storageOrderDetail.setWarehouseStorageCode(qualityOrder.getInStorageCode()); |
|
|
storageOrderDetail.setWarehouseStorageCode(qualityOrder.getInStorageCode()); |
|
|