|
|
|
@ -712,8 +712,9 @@ public class WorkOrderController {
|
|
|
|
|
inventoryLogEntity.setDepartmentId( entity.getDepartmentId());
|
|
|
|
|
inventoryLogEntity.setCreatorUserId( entity.getCreatorUserId());
|
|
|
|
|
|
|
|
|
|
inventoryLogEntity.setChangeNumber(new BigDecimal(warehousingOutboundProductModel.getOutboundNumber()));
|
|
|
|
|
inventoryLogEntity.setInventoryNumber(new BigDecimal("0").subtract(inventoryEntity.getInventoryNumber()));//库存数量
|
|
|
|
|
inventoryLogEntity.setInventoryNumber(inventoryEntity.getInventoryNumber());
|
|
|
|
|
inventoryLogEntity.setChangeNumber(new BigDecimal("0").subtract(new BigDecimal(warehousingOutboundProductModel.getOutboundNumber())));//库存数量
|
|
|
|
|
|
|
|
|
|
inventoryLogService.saveOrUpdate(inventoryLogEntity);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1038,8 +1039,8 @@ public class WorkOrderController {
|
|
|
|
|
inventoryLogEntity.setWarehouseId(entity.getWarehouseId());
|
|
|
|
|
inventoryLogEntity.setStorageAreaId(warehousingOutboundProductModel.getOutboundAreaId());
|
|
|
|
|
inventoryLogEntity.setBatchNumber(warehousingOutboundProductModel.getBatchNumber());
|
|
|
|
|
inventoryLogEntity.setChangeNumber(new BigDecimal(warehousingOutboundProductModel.getOutboundNumber()));
|
|
|
|
|
inventoryLogEntity.setInventoryNumber(new BigDecimal("0").subtract(inventoryEntity.getInventoryNumber()));//库存数量
|
|
|
|
|
inventoryLogEntity.setInventoryNumber(inventoryEntity.getInventoryNumber());
|
|
|
|
|
inventoryLogEntity.setChangeNumber(new BigDecimal("0").subtract(new BigDecimal(warehousingOutboundProductModel.getOutboundNumber())));//库存数量
|
|
|
|
|
|
|
|
|
|
inventoryLogEntity.setCompanyId( entity.getCompanyId());
|
|
|
|
|
inventoryLogEntity.setOrganizeJsonId(entity.getOrganizeJsonId());
|
|
|
|
@ -1545,9 +1546,10 @@ public class WorkOrderController {
|
|
|
|
|
inventoryLogEntity.setOrganizeJsonId(entity.getOrganizeJsonId());
|
|
|
|
|
inventoryLogEntity.setDepartmentId( entity.getDepartmentId());
|
|
|
|
|
inventoryLogEntity.setCreatorUserId( entity.getCreatorUserId());
|
|
|
|
|
inventoryLogEntity.setInventoryNumber(inventoryEntity.getInventoryNumber());
|
|
|
|
|
inventoryLogEntity.setChangeNumber(new BigDecimal("0").subtract(new BigDecimal(warehousingOutboundProductModel.getOutboundNumber())));//库存数量
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inventoryLogEntity.setChangeNumber(new BigDecimal(warehousingOutboundProductModel.getOutboundNumber()));
|
|
|
|
|
inventoryLogEntity.setInventoryNumber(new BigDecimal("0").subtract(inventoryEntity.getInventoryNumber()));//库存数量
|
|
|
|
|
inventoryLogService.saveOrUpdate(inventoryLogEntity);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1857,8 +1859,9 @@ public class WorkOrderController {
|
|
|
|
|
inventoryLogEntity.setWarehouseId(entity.getWarehouseId());
|
|
|
|
|
inventoryLogEntity.setStorageAreaId(warehousingOutboundProductModel.getOutboundAreaId());
|
|
|
|
|
inventoryLogEntity.setBatchNumber(warehousingOutboundProductModel.getBatchNumber());
|
|
|
|
|
inventoryLogEntity.setChangeNumber(new BigDecimal(warehousingOutboundProductModel.getOutboundNumber()));
|
|
|
|
|
inventoryLogEntity.setInventoryNumber(new BigDecimal("0").subtract(inventoryEntity.getInventoryNumber()));//库存数量
|
|
|
|
|
|
|
|
|
|
inventoryLogEntity.setInventoryNumber(inventoryEntity.getInventoryNumber());
|
|
|
|
|
inventoryLogEntity.setChangeNumber(new BigDecimal("0").subtract(new BigDecimal(warehousingOutboundProductModel.getOutboundNumber())));//库存数量
|
|
|
|
|
inventoryLogEntity.setCompanyId( entity.getCompanyId());
|
|
|
|
|
inventoryLogEntity.setOrganizeJsonId(entity.getOrganizeJsonId());
|
|
|
|
|
inventoryLogEntity.setDepartmentId( entity.getDepartmentId());
|
|
|
|
|