From 16c9afecf5c800922527ad27d42212141ac62c2e Mon Sep 17 00:00:00 2001
From: ydj <yangsink@163.com>
Date: Mon, 20 May 2024 18:10:52 +0800
Subject: [PATCH] 新增用户扣、入款记录

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

diff --git a/src/main/resources/mapper/UserMapper.xml b/src/main/resources/mapper/UserMapper.xml
index 8efe003..ec05fdd 100644
--- a/src/main/resources/mapper/UserMapper.xml
+++ b/src/main/resources/mapper/UserMapper.xml
@@ -82,6 +82,9 @@
         <include refid="Base_Column_List"/>
         FROM user
         <where>
+            <if test="id != null and id != '' ">
+                and id = #{id}
+            </if>
             <if test="searchId != null ">
                 and agent_id = #{searchId}
             </if>

--
Gitblit v1.9.3