From c0ddb9dad45beceb6afefb03fce409878079775b Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 14 十月 2026 16:30:19 +0800
Subject: [PATCH] 【丽水】1.已拨通/未拨通要在综合统计处体现     2.过滤患者页面增加时间查询

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

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
index 28ad277..2350371 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
@@ -1573,7 +1573,8 @@
         continue_content,
         continue_count,
         continue_time_next,
-        task_situation
+        task_situation,
+        is_manually_called
         from service_subtask
         where 1=1
         and del_flag = 0
@@ -1860,7 +1861,8 @@
         continue_count,
         continue_time_next,
         task_situation,
-        remark
+        remark,
+        is_manually_called
         from service_subtask
         where 1=1
         and del_flag = 0
@@ -1946,6 +1948,9 @@
         </if>
         <if test="deptcode != null and deptcode != ''">
             AND deptcode = #{deptcode}
+        </if>
+        <if test="isManuallyCalled != null">
+            AND is_manually_called = #{isManuallyCalled}
         </if>
         order by endtime desc
         <if test="pageSize != null  and pageNum != null">
@@ -2854,7 +2859,7 @@
         </if>
         <if test="(leavehospitaldistrictcodes != null and leavehospitaldistrictcodes.size() > 0)
                 or (leaveldeptcodes != null and leaveldeptcodes.size() > 0)">
-            AND(
+            AND (
             <if test="leavehospitaldistrictcodes != null and leavehospitaldistrictcodes.size() > 0">
                 leavehospitaldistrictcode IN
                 <foreach collection="leavehospitaldistrictcodes" item="leavehospitaldistrictcode" open="("

--
Gitblit v1.9.3