姜永辉 1 an în urmă
părinte
comite
175f0243f7

+ 1 - 1
src/main/java/com/dk/mdm/service/ivt/inventory/InventoryService.java

@@ -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);