From b75995cb04185c5babfa2e991ffb7aeb8fac0196 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期五, 28 八月 2026 16:36:06 +0800
Subject: [PATCH] 【市一】出院时间更新机制调整

---
 ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml b/ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml
index b5c6b71..9489fe5 100644
--- a/ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml
+++ b/ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml
@@ -685,10 +685,10 @@
             <if test="outWayName != null ">and b.out_way_name = #{outWayName}</if>
             <if test="orgid != null ">and b.orgid = #{orgid}</if>
             <if test="lastStartTime != null and lastStartTime != ''">
-                and last_Update_Time &gt;= (to_date(#{lastStartTime}, 'YYYY-MM-DD HH24:MI:SS') - 1)
+                and last_Update_Time &gt;= to_date(#{lastStartTime}, 'YYYY-MM-DD HH24:MI:SS')
             </if>
             <if test="lastEndTime != null and lastEndTime != ''">
-                and last_Update_Time &lt;= (to_date(#{lastEndTime}, 'YYYY-MM-DD HH24:MI:SS')  - 1)
+                and last_Update_Time &lt;= to_date(#{lastEndTime}, 'YYYY-MM-DD HH24:MI:SS')
             </if>
     </select>
 

--
Gitblit v1.9.3