From a86bfd0bdad90f87c0c3b1b0ce9d2db91841a6d2 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 03 二月 2026 17:12:13 +0800
Subject: [PATCH] 【丽水】随访及时率:应随访时间<实际随访时间,统计数据修改

---
 ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml |    4 +++-
 1 files changed, 3 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 ded67a3..5c0653a 100644
--- a/ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml
+++ b/ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml
@@ -385,6 +385,7 @@
         FROM healthy_user_dept
         where 1=1
         and user_id != 'admin'
+        and dept_type = '1'
         <if test="orgid != null and orgid != ''">
             AND orgid = #{orgid}
         </if>
@@ -393,9 +394,10 @@
 
     <select id="yhybfxx" parameterType="com.ruoyi.common.core.domain.entity.SysUser" resultMap="SysUserDeptResult">
         select user_id , user_code , dept_type ,dept_code,dept_name,deptparent,del_flag,orgid
-        FROM healthy_user_dept_bf
+        FROM healthy_user_dept
         where 1=1
         and user_id != 'admin'
+        and dept_type = '2'
         <if test="orgid != null and orgid != ''">
             AND orgid = #{orgid}
         </if>

--
Gitblit v1.9.3