From ef56c60babb3237c417a905e199eef81eb29a3cc Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Mon, 20 May 2024 11:52:00 +0800
Subject: [PATCH] 1
---
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