From 6ec69a6c124a589b95d2b1d5d68a93b792350606 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期四, 08 十月 2026 10:55:50 +0800
Subject: [PATCH] 【丽水】无需随访的不能算到及时率分母

---
 smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml b/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
index 17eb494..21125bd 100644
--- a/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
@@ -114,6 +114,13 @@
             <if test="endTime != null">
                 AND date_format(update_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d')
             </if>
+            <if test="ids != null and ids.size()>0">
+                AND id IN
+                <foreach collection="ids" item="idItem" open="(" separator=","
+                         close=")">
+                    #{idItem}
+                </foreach>
+            </if>
     </select>
 
     <select id="selectPatSatisfactionById" parameterType="Long"

--
Gitblit v1.9.3