From e00ef99886b9ab84f39c81432f8c7640e93026f9 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 27 二月 2025 15:54:30 +0800
Subject: [PATCH] 代码提交

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

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
index b35d738..3970f13 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
@@ -111,8 +111,8 @@
                leavehospitaldistrictname,
                orgid,
                nexttaskflag,
-                nexttaskid,
-                nexttaskname
+               nexttaskid,
+               nexttaskname
         from service_task
     </sql>
 
@@ -248,18 +248,18 @@
         service_task.orgid from service_task
         <where>
             service_task.del_flag=0
-            and taskid in (
-            select task_id from service_taskdept
-            <where>
-                <if test="leaveldeptcodes != null and leaveldeptcodes.size()>0">
-                    dept_code in
-                    <foreach collection="leaveldeptcodes" item="leaveldeptcode" open="(" separator=","
-                             close=")">
-                        #{leaveldeptcode}
-                    </foreach>
-                </if>
-            </where>
-            )
+<!--            and taskid in (-->
+<!--            select task_id from service_taskdept-->
+<!--            <where>-->
+<!--                <if test="leaveldeptcodes != null and leaveldeptcodes.size()>0">-->
+<!--                    dept_code in-->
+<!--                    <foreach collection="leaveldeptcodes" item="leaveldeptcode" open="(" separator=","-->
+<!--                             close=")">-->
+<!--                        #{leaveldeptcode}-->
+<!--                    </foreach>-->
+<!--                </if>-->
+<!--            </where>-->
+<!--            )-->
             <if test="taskName != null  and taskName != ''">and service_task.task_name like concat('%', #{taskName},
                 '%')
             </if>
@@ -467,9 +467,9 @@
             <if test="isupload != null">isupload = #{isupload},</if>
             <if test="uploadTime != null">upload_time = #{uploadTime},</if>
             <if test="orgid != null">orgid = #{orgid},</if>
-            <if test="nexttaskflag != null">#{nexttaskflag},</if>
-            <if test="nexttaskid != null">#{nexttaskid},</if>
-            <if test="nexttaskname != null">#{nexttaskname},</if>
+            <if test="nexttaskflag != null">nexttaskflag = #{nexttaskflag},</if>
+            <if test="nexttaskid != null">nexttaskid = #{nexttaskid},</if>
+            <if test="nexttaskname != null">nexttaskname = #{nexttaskname},</if>
             <if test="pid != null">pid = #{pid},</if>
             <if test="guid != null">guid = #{guid},</if>
             <if test="preachform != null">preachform = #{preachform},</if>

--
Gitblit v1.9.3