From d2d33d9e10b6a68b84a43a1b970a94246ffdf801 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 07 一月 2026 16:15:54 +0800
Subject: [PATCH] Merge branch 'master-where标签替换'

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/BaseUserInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BaseUserInfoMapper.xml
index a642513..f3fb8df 100644
--- a/ruoyi-system/src/main/resources/mapper/system/BaseUserInfoMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/BaseUserInfoMapper.xml
@@ -76,7 +76,7 @@
     <select id="selectBaseUserInfoList" parameterType="com.ruoyi.system.domain.BaseUserInfo"
             resultMap="BaseUserInfoResult">
         <include refid="selectBaseUserInfoVo"/>
-        <where>
+        where 1=1
             <if test="usercode != null  and usercode != ''">and usercode = #{usercode}</if>
             <if test="account != null  and account != ''">and account = #{account}</if>
             <if test="guid != null  and guid != ''">and guid = #{guid}</if>
@@ -104,7 +104,6 @@
             <if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
             <if test="deptpermission != null  and deptpermission != ''">and deptpermission = #{deptpermission}</if>
             <if test="wardpermission != null  and wardpermission != ''">and wardpermission = #{wardpermission}</if>
-        </where>
     </select>
 
     <select id="selectBaseUserInfoByUserid" parameterType="Long" resultMap="BaseUserInfoResult">

--
Gitblit v1.9.3