From 9d0f876f289241388f62bef8d6be989bef0ac665 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期五, 06 二月 2026 09:49:28 +0800
Subject: [PATCH] yys 供应商类型增加分类
---
src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
index 98c2675..499522c 100644
--- a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
+++ b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -27,6 +27,7 @@
pl.template_name,
pl.approve_user_ids,
sm.is_white,
+ sm.supplier_type,
pl.approval_status,
pl.payment_method,
pl.remarks
@@ -58,6 +59,9 @@
<if test="c.entryDateEnd != null and c.entryDateEnd != '' ">
AND pl.entry_date <= DATE_FORMAT(#{c.entryDateEnd},'%Y-%m-%d')
</if>
+ <if test="c.supplierType != null and c.supplierType != '' ">
+ AND sm.supplier_type = #{c.supplierType}
+ </if>
</where>
group by pl.id, pl.purchase_contract_number, pl.sales_contract_no, pl.supplier_name,
pl.project_name,pl.entry_date,
--
Gitblit v1.9.3