From 34f78281cf395a24e1f3f1c3b861186ff8a03b7b Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 16 十月 2026 11:09:40 +0800
Subject: [PATCH] 出入院模块、门急诊模块、模块模块、宣教模块、其它模块

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

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
index a065af3..9255317 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
@@ -1259,6 +1259,7 @@
         </trim>
         where 1=1
         <if test="patid != null ">and patid = #{patid}</if>
+        <if test="id != null ">and id = #{id}</if>
         <if test="taskid != null ">and taskid = #{taskid}</if>
         <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if>
         <if test="campusid != null and campusid != ''">and campusid = #{campusid}</if>
@@ -2361,7 +2362,7 @@
             month, st.service_type, st.id;
     </select>
 
-    <select id="getDeptRanking" parameterType="com.smartor.domain.PatMedReq" resultType="com.smartor.domain.PatMedRes">
+    <select id="getDeptRanking" parameterType="com.ruoyi.common.core.service.dto.PatMedReq" resultType="com.ruoyi.common.core.service.dto.PatMedRes">
         SELECT deptname,
         count(1) AS rc
         FROM service_subtask
@@ -2755,8 +2756,8 @@
         </if>
     </select>
 
-    <select id="selectVisitCount" parameterType="com.smartor.domain.PatMedReq"
-            resultType="com.smartor.domain.PatMedRes">
+    <select id="selectVisitCount" parameterType="com.ruoyi.common.core.service.dto.PatMedReq"
+            resultType="com.ruoyi.common.core.service.dto.PatMedRes">
         select
         0 AS rc,
         count(1) AS rs
@@ -2886,7 +2887,7 @@
     </select>
 
     <!-- 瀹f暀缁熻锛氭寜鐥呭尯鎴栫瀹ゅ垎缁勶紝缁熻鍙戦�佹�婚噺銆佸彂閫佹垚鍔熼噺锛坰endstate=6锛夈�佸凡璇婚噺锛坒inishtime涓嶄负绌猴級 -->
-    <select id="getHeLibraryCount" parameterType="com.smartor.domain.VO.HeLibraryCountVO" resultType="map">
+    <select id="getHeLibraryCount" parameterType="com.ruoyi.template.domain.VO.HeLibraryCountVO" resultType="map">
         SELECT
         <choose>
             <when test="hospitaldistrictcodes != null and hospitaldistrictcodes.size() > 0">
@@ -2962,7 +2963,7 @@
         order by schedule_seq asc, id asc
     </select>
 
-    <select id="gethelibraryCountHyperlink" parameterType="com.smartor.domain.VO.HeLibraryCountVO"
+    <select id="gethelibraryCountHyperlink" parameterType="com.ruoyi.template.domain.VO.HeLibraryCountVO"
             resultMap="ServiceSubtaskResult">
         select id,
         visit_count,

--
Gitblit v1.9.3