From af7dd07dc1521f3c0012e9e0eea836de3260f374 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 08 六月 2026 15:37:04 +0800
Subject: [PATCH] 【丽水】随访查询页面-统计调整 * total: 患者服务总量                      * wxsf: 无需随访数量 sendstate != 4                      * xsf: 需随访数量 sendstate = 4                      * dsf: 待随访数量 sendstate = 1L, 2L, 3L, 5L, 7L                      * ywc: 已完成数量 sendstate = 6L                      * yc: 异常数量 excep = '1'                      * yc: 警告数量 excep = '2'

---
 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