From 663120b055dfdced4a67ce1d4160ae8ca19b4190 Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期四, 12 三月 2026 18:04:21 +0800
Subject: [PATCH] 修改工单所需数量
---
src/main/java/com/ruoyi/production/service/impl/ProductionProductMainServiceImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/ruoyi/production/service/impl/ProductionProductMainServiceImpl.java b/src/main/java/com/ruoyi/production/service/impl/ProductionProductMainServiceImpl.java
index 5d6553a..b31801d 100644
--- a/src/main/java/com/ruoyi/production/service/impl/ProductionProductMainServiceImpl.java
+++ b/src/main/java/com/ruoyi/production/service/impl/ProductionProductMainServiceImpl.java
@@ -284,10 +284,10 @@
List<Details> details = new ArrayList<>();
Details details1 = new Details();
details1.setInboundQuantity(dto.getQuantity());
-// details1.setId(Math.toIntExact(salesLedgerProduct.getId()));
+ details1.setId(Math.toIntExact(productModel.getId()));
// details1.setUnitPrice(salesLedgerProduct.getTaxInclusiveUnitPrice());
// details1.setTotalPrice(salesLedgerProduct.getTaxInclusiveTotalPrice());
-// details1.setProductModelId(salesLedgerProduct.getProductModelId());
+ details1.setProductModelId(productModel.getId());
details.add(details1);
procurementRecordOutAdd.setDetails(details);
// procurementRecordOutAdd.setQualityInspectId(qualityInspect.getId());
--
Gitblit v1.9.3