From 00b31db4f3677dc919a1c4e1c227fd8fdd65f60f Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期四, 11 六月 2026 19:30:35 +0800
Subject: [PATCH] fix: 修复采购库存自动提交同一个入库单,多个同一规格入库报错
---
src/main/java/com/ruoyi/procurementrecord/utils/StockUtils.java | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/main/java/com/ruoyi/procurementrecord/utils/StockUtils.java b/src/main/java/com/ruoyi/procurementrecord/utils/StockUtils.java
index f6c8d64..15fea11 100644
--- a/src/main/java/com/ruoyi/procurementrecord/utils/StockUtils.java
+++ b/src/main/java/com/ruoyi/procurementrecord/utils/StockUtils.java
@@ -114,11 +114,6 @@
stockInventoryDto.setProductModelId(productModelId);
stockInventoryDto.setBatchNo(batchNo);
stockInventoryService.addStockInRecordOnly(stockInventoryDto);
- //StockInRecord stockInRecord = stockInRecordService.getOne(Wrappers.<StockInRecord>lambdaQuery()
- // .eq(StockInRecord::getRecordId, stockInventoryDto.getRecordId())
- // .eq(StockInRecord::getRecordType, stockInventoryDto.getRecordType())
- //);
- //stockInRecordService.batchApprove(Collections.singletonList(stockInRecord.getId()),1);
}
/**
--
Gitblit v1.9.3