From bedd0a1cef215538df64470df6b8d4a022189136 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 28 八月 2024 14:05:16 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
index 33ef285..ec7a1dc 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
@@ -44,11 +44,14 @@
<result property="showTimeNoon" column="show_time_noon"/>
<result property="showTimeNight" column="show_time_night"/>
<result property="textParam" column="text_param"/>
+ <result property="serviceType" column="service_type"/>
+ <result property="longTask" column="long_task"/>
</resultMap>
<sql id="selectServiceTaskVo">
select taskid,
task_name,
+ long_task,
show_date,
show_time_morn,
show_time_noon,
@@ -85,6 +88,7 @@
send_type,
send_state,
send_time_slot,
+ service_type,
orgid
from service_task
</sql>
@@ -97,6 +101,8 @@
'%')
</if>
<if test="templateid != null and templateid != ''">and templateid = #{templateid}</if>
+ <if test="longTask != null and longTask != ''">and long_task = #{longTask}</if>
+ <if test="serviceType != null and serviceType != ''">and service_type = #{serviceType}</if>
<if test="templatename != null and templatename != ''">and templatename like concat('%', #{templatename},
'%')
</if>
@@ -178,6 +184,8 @@
<if test="showTimeNoon != null and showTimeNoon != ''">show_time_noon,</if>
<if test="showTimeMorn != null and showTimeMorn != ''">show_time_morn,</if>
<if test="textParam != null and textParam != ''">text_param,</if>
+ <if test="serviceType != null and serviceType != ''">service_type,</if>
+ <if test="longTask != null and longTask != ''">long_task,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskName != null">#{taskName},</if>
@@ -218,6 +226,8 @@
<if test="showTimeNoon != null and showTimeNoon != ''">#{showTimeNoon},</if>
<if test="showTimeMorn != null and showTimeMorn != ''">#{showTimeMorn},</if>
<if test="textParam != null and textParam != ''">#{textParam},</if>
+ <if test="serviceType != null and serviceType != ''">#{serviceType},</if>
+ <if test="longTask != null and longTask != ''">#{longTask},</if>
</trim>
</insert>
@@ -262,6 +272,8 @@
<if test="showTimeNoon != null and showTimeNoon != ''">show_time_noon=#{showTimeNoon},</if>
<if test="showTimeMorn != null and showTimeMorn != ''">show_time_morn=#{showTimeMorn},</if>
<if test="textParam != null and textParam != ''">text_param=#{textParam},</if>
+ <if test="serviceType != null and serviceType != ''">service_type = #{serviceType},</if>
+ <if test="longTask != null and longTask != ''">long_task = #{longTask},</if>
</trim>
where taskid = #{taskid}
</update>
--
Gitblit v1.9.3