From da026a34bcc97b2eb49607a3b02d94d8f683f997 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 07 一月 2026 16:18:35 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/smartor/src/main/resources/mapper/smartor/HospitalRecordMapper.xml b/smartor/src/main/resources/mapper/smartor/HospitalRecordMapper.xml
index 7bbd5a9..3648ada 100644
--- a/smartor/src/main/resources/mapper/smartor/HospitalRecordMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/HospitalRecordMapper.xml
@@ -134,7 +134,7 @@
     <select id="selectHospitalRecordList" parameterType="com.smartor.domain.HospitalRecord"
             resultMap="HospitalRecordResult">
         <include refid="selectHospitalRecordVo"/>
-        <where>
+        where 1=1
             <if test="ID != null  and ID != ''">and ID = #{ID}</if>
             <if test="sourceSystem != null  and sourceSystem != ''">and SourceSystem = #{sourceSystem}</if>
             <if test="messageID != null  and messageID != ''">and MessageID = #{messageID}</if>
@@ -214,7 +214,6 @@
             </if>
             <if test="taskStatus != null  and taskStatus != ''">and taskStatus = #{taskStatus}</if>
             <if test="orgid != null  and orgid != ''">and orgid = #{orgid}</if>
-        </where>
     </select>
 
     <select id="selectHospitalRecordByID" parameterType="String" resultMap="HospitalRecordResult">

--
Gitblit v1.9.3