From 4da8de162f0eb361a99257ffc6aa61a905cc3743 Mon Sep 17 00:00:00 2001
From: yupeng <roc__yu@163.com>
Date: 星期三, 26 三月 2025 10:42:47 +0800
Subject: [PATCH] feat: 增加账单类型搜索

---
 ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
index e024b7e..a120f32 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
@@ -62,6 +62,9 @@
             <if test="query.userId != null and query.userId !=''">
                 and t.id = #{query.userId}
             </if>
+            <if test="query.billType != null">
+                and b.bill_type = #{query.billType}
+            </if>
         </where>
         order by b.payable_fees_time desc,b.create_time desc
     </select>

--
Gitblit v1.7.1