From 0e20a4ee1fb4f46598948e9a42c350e7486f73b4 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Tue, 21 May 2024 18:22:11 +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