From d1568a5f8f11345e027c8feed27215568607cda0 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 17 三月 2026 10:40:13 +0800
Subject: [PATCH] 查询宣教分类列表,删除分页

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

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
index 1e427e6..8c3bdf7 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
@@ -60,6 +60,7 @@
         <result property="nexttaskname" column="nexttaskname"/>
         <result property="appltype" column="appltype"/>
         <result property="patCycle" column="pat_cycle"/>
+        <result property="diagType" column="diag_type"/>
     </resultMap>
 
     <sql id="selectServiceTaskVo">
@@ -116,7 +117,8 @@
                orgid,
                nexttaskflag,
                nexttaskid,
-               nexttaskname
+               nexttaskname,
+               diag_type
         from service_task
     </sql>
 
@@ -171,6 +173,7 @@
             <if test="nexttaskid != null  ">and nexttaskid = #{nexttaskid}</if>
             <if test="nexttaskname != null  ">and nexttaskname = #{nexttaskname}</if>
             <if test="appltype != null  ">and appltype = #{appltype}</if>
+            <if test="diagType != null and diagType != ''">and diag_type = #{diagType}</if>
             <if test="leavehospitaldistrictname != null  ">and leavehospitaldistrictname =
                 #{leavehospitaldistrictname}
             </if>
@@ -388,6 +391,7 @@
             <if test="sendDay != null  ">send_day,</if>
             <if test="appltype != null  ">appltype,</if>
             <if test="patCycle != null  ">pat_cycle,</if>
+            <if test="diagType != null and diagType != ''">diag_type,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="taskName != null">#{taskName},</if>
@@ -443,6 +447,7 @@
             <if test="sendDay != null  ">#{sendDay},</if>
             <if test="appltype != null  ">#{appltype},</if>
             <if test="patCycle != null  ">#{patCycle},</if>
+            <if test="diagType != null and diagType != ''">#{diagType},</if>
         </trim>
     </insert>
 
@@ -504,6 +509,7 @@
             <if test="sendDay != null  ">send_day = #{sendDay},</if>
             <if test="appltype != null  ">appltype = #{appltype},</if>
             <if test="patCycle != null  ">pat_cycle = #{patCycle},</if>
+            <if test="diagType != null and diagType != ''">diag_type = #{diagType},</if>
         </trim>
         where taskid = #{taskid}
     </update>

--
Gitblit v1.9.3