From 64812ecec137ffd019993c429116a8000edc6f46 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期二, 10 三月 2026 10:58:41 +0800
Subject: [PATCH] yys 1.工资计算修改
---
src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml b/src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml
index c2aa0c0..c4bcdd9 100644
--- a/src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml
+++ b/src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml
@@ -11,13 +11,14 @@
t4.scheduling_date,
t4.finished_num,
t4.work_hours,
+ t4.work_hours * t4.finished_num as wages,
t4.process,
t3.product_name as productCategory,
t2.model as specificationModel,
t2.unit
FROM
sales_ledger_production_accounting t4
- left join product_model t2 on t2.id = t1.sales_ledger_product_id
+ left join product_model t2 on t2.id = t4.sales_ledger_product_id
left join product t3 on t3.id = t2.product_id
<where>
<if test="salesLedgerDto.schedulingUserName != null and salesLedgerDto.schedulingUserName != '' ">
--
Gitblit v1.9.3