From 47200ddd17698ae4afefd0d25c6b1b9551bcf14f Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期二, 10 三月 2026 11:11:00 +0800
Subject: [PATCH] yys 1.工资计算修改
---
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