|
|
@@ -644,9 +644,9 @@ public class InventoryService extends BaseService<Inventory> {
|
|
|
|
|
|
inOutRecordVO.setInvId(inventoryResponse.getInvId());
|
|
|
|
|
|
- //region 库存批次 编辑
|
|
|
- this.updateInventoryBatch(inOutRecordVO);
|
|
|
- //endregion
|
|
|
+ //修改库存数量
|
|
|
+ this.updateInventoryMessageAdd(inventoryResponse, inOutRecordVO);
|
|
|
+
|
|
|
|
|
|
//region 修改/新建 库存数量,可用量,金额等信息
|
|
|
//销售退货出库 新建库存批次
|
|
|
@@ -655,7 +655,7 @@ public class InventoryService extends BaseService<Inventory> {
|
|
|
}
|
|
|
//其他类型出库 修改库存数量,可用量,金额等信息
|
|
|
else {
|
|
|
- this.updateInventoryMessageAdd(inventoryResponse, inOutRecordVO);
|
|
|
+ this.updateInventoryBatch(inOutRecordVO);
|
|
|
}
|
|
|
//endregion
|
|
|
|