From b1e21a107469d2759845f800c037d741c0554f07 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期五, 11 九月 2026 11:45:46 +0800
Subject: [PATCH] 【市一】同步数据

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

diff --git a/ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml b/ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml
index c88cd19..89b18cf 100644
--- a/ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml
+++ b/ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml
@@ -658,7 +658,8 @@
         b.leavehospitaldistrictname,
         b.leavehospitaldistrictid,
         b.deptid,
-        b.leaveldeptid
+        b.leaveldeptid,
+        b.del_flag
         FROM
         healthy_inhosp b
         where 1=1
@@ -899,6 +900,9 @@
         <if test="orgid != null and orgid != ''">
             AND o.orgid = #{orgid}
         </if>
+        <if test="opreqid != null and opreqid != ''">
+            AND o.opreqid = #{opreqid}
+        </if>
         <if test="lastStartTime != null and lastStartTime != ''">
             and to_char(o.last_Update_Time, 'YYYY-MM-DD HH24:MI:SS') >= #{lastStartTime}
         </if>
@@ -941,6 +945,9 @@
         <if test="opid != null and opid != ''">
             AND oi.opid = #{opid}
         </if>
+        <if test="operationid != null and operationid != ''">
+            AND oi.operationid = #{operationid}
+        </if>
         <if test="lastStartTime != null and lastStartTime != ''">
             and oi.last_Update_Time &gt;= to_date(#{lastStartTime}, 'YYYY-MM-DD HH24:MI:SS')
         </if>

--
Gitblit v1.9.3