From b6a9f51324d4c8c7d8dd9956cedfcc4bfc60cef6 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 29 五月 2026 09:28:37 +0800
Subject: [PATCH] feat: 报工设置工序工资定额
---
src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
index f501849..ac248cd 100644
--- a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
+++ b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -28,6 +28,7 @@
pl.template_name,
pl.approve_user_ids,
sm.is_white,
+ sm.supplier_type AS supplierType,
pl.approval_status,
pl.payment_method,
pl.remarks
@@ -62,6 +63,12 @@
<if test="c.entryDateEnd != null and c.entryDateEnd != ''">
AND pl.entry_date <= #{c.entryDateEnd}
</if>
+ <if test="c.supplierId != null">
+ AND pl.supplier_id = #{c.supplierId}
+ </if>
+ <if test="c.supplierType != null">
+ AND sm.supplier_type = #{c.supplierType}
+ </if>
</where>
ORDER BY pl.entry_date DESC
</select>
--
Gitblit v1.9.3