|
@@ -1036,7 +1036,7 @@ public class InventoryService extends BaseService<Inventory> {
|
|
|
//存货资产
|
|
//存货资产
|
|
|
inventoryBatchVO.setCostAmt(inventoryBatchVO.getInvQty().multiply(inventoryBatchResponse.getCostPrice()));
|
|
inventoryBatchVO.setCostAmt(inventoryBatchVO.getInvQty().multiply(inventoryBatchResponse.getCostPrice()));
|
|
|
//清零标识
|
|
//清零标识
|
|
|
- inventoryBatchVO.setZeroFlag(true);
|
|
|
|
|
|
|
+ inventoryBatchVO.setZeroFlag(false);
|
|
|
inventoryBatchMapper.updateAmountAndQuantity(inventoryBatchVO);
|
|
inventoryBatchMapper.updateAmountAndQuantity(inventoryBatchVO);
|
|
|
//数量
|
|
//数量
|
|
|
inOutRecordVO.setIntoQty(qty);
|
|
inOutRecordVO.setIntoQty(qty);
|