From ffaeb76c04cd3a358e767362dd0a7b82aeed88a2 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 04 九月 2025 22:48:30 +0800
Subject: [PATCH] 单点登陆

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

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
index 1c27746..47d8fd3 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
@@ -332,7 +332,7 @@
 
     <select id="selectServiceTaskByTaskid" parameterType="Long" resultMap="ServiceTaskResult">
         <include refid="selectServiceTaskVo"/>
-        where taskid = #{taskid}
+        where taskid = #{taskid} and del_flag=0
     </select>
 
     <insert id="insertServiceTask" parameterType="com.smartor.domain.ServiceTask" useGeneratedKeys="true"
@@ -498,10 +498,10 @@
             </if>
             <if test="leavehospitaldistrictcode != null  ">leavehospitaldistrictcode = #{leavehospitaldistrictcode},
             </if>
-            <if test="compensateDate != null  and compensateDate != ''">compensate_date = #{compensateDate}</if>
-            <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="compensateDate != null  and compensateDate != ''">compensate_date = #{compensateDate},</if>
+            <if test="sendDay != null  ">send_day = #{sendDay},</if>
+            <if test="appltype != null  ">appltype = #{appltype},</if>
+            <if test="patCycle != null  ">pat_cycle = #{patCycle},</if>
         </trim>
         where taskid = #{taskid}
     </update>

--
Gitblit v1.9.3