From 37f2e4e68c0d55e094981fa478fc198b907f87dc Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 20 七月 2024 16:30:13 +0800
Subject: [PATCH] 代码提交

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

diff --git a/smartor/src/main/resources/mapper/smartor/SvyTaskMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyTaskMapper.xml
index c093388..6d2da2b 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyTaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyTaskMapper.xml
@@ -7,7 +7,7 @@
     <resultMap type="com.smartor.domain.SvyTask" id="SvyTaskResult">
         <result property="taskid" column="taskid"/>
         <result property="svrtaskid" column="svrtaskid"/>
-        <result property="taskname" column="taskname"/>
+        <result property="taskName" column="task_name"/>
         <result property="templateid" column="templateid"/>
         <result property="templatename" column="templatename"/>
         <result property="labelinfo" column="labelinfo"/>
@@ -39,7 +39,7 @@
         <result property="pid" column="pid"/>
         <result property="guid" column="guid"/>
         <result property="preachform" column="preachform"/>
-        <result property="isSend" column="is_send"/>
+        <result property="sendType" column="send_type"/>
         <result property="sendState" column="send_state"/>
         <result property="param" column="param"/>
         <result property="textParam" column="text_param"/>
@@ -51,6 +51,7 @@
         <result property="sendTimeSlot" column="send_time_slot"/>
         <result property="libtemplateid" column="libtemplateid"/>
         <result property="libtemplatename" column="libtemplatename"/>
+        <result property="taskDesc" column="task_desc"/>
     </resultMap>
 
     <sql id="selectSvyTaskVo">
@@ -59,13 +60,14 @@
                libtemplateid,
                libtemplatename,
                show_date,
+               task_desc,
                show_time_morn,
                show_time_noon,
                show_time_night,
                stop_state,
                svrtaskid,
                text_param,
-               taskname,
+               task_name,
                templateid,
                templatename,
                labelinfo,
@@ -97,7 +99,7 @@
                pid,
                guid,
                preachform,
-               is_send,
+               send_type,
                send_state,
                param
         from svy_task
@@ -107,7 +109,7 @@
         <include refid="selectSvyTaskVo"/>
         <where>
             <if test="svrtaskid != null ">and svrtaskid = #{svrtaskid}</if>
-            <if test="taskname != null  and taskname != ''">and taskname like concat('%', #{taskname}, '%')</if>
+            <if test="taskName != null  and taskName != ''">and task_name like concat('%', #{taskName}, '%')</if>
             <if test="templateid != null  and templateid != ''">and templateid = #{templateid}</if>
             <if test="templatename != null  and templatename != ''">and templatename like concat('%', #{templatename},
                 '%')
@@ -140,7 +142,7 @@
             <if test="pid != null ">and pid = #{pid}</if>
             <if test="guid != null  and guid != ''">and guid = #{guid}</if>
             <if test="preachform != null  and preachform != ''">and preachform = #{preachform}</if>
-            <if test="isSend != null ">and is_send = #{isSend}</if>
+            <if test="sendType != null ">and send_type = #{sendType}</if>
             <if test="sendState != null  and sendState != ''">and send_state = #{sendState}</if>
             <if test="param != null  and param != ''">and param = #{param}</if>
             <if test="sendTimeSlot != null  and sendTimeSlot != ''">and send_time_slot like concat('%', #{sendTimeSlot},
@@ -160,7 +162,7 @@
         insert into svy_task
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="svrtaskid != null">svrtaskid,</if>
-            <if test="taskname != null">taskname,</if>
+            <if test="taskName != null">task_name,</if>
             <if test="templateid != null">templateid,</if>
             <if test="templatename != null">templatename,</if>
             <if test="labelinfo != null">labelinfo,</if>
@@ -192,7 +194,7 @@
             <if test="pid != null">pid,</if>
             <if test="guid != null">guid,</if>
             <if test="preachform != null">preachform,</if>
-            <if test="isSend != null">is_send,</if>
+            <if test="sendType != null">send_type,</if>
             <if test="sendState != null">send_state,</if>
             <if test="param != null">param,</if>
             <if test="textParam != null">text_param,</if>
@@ -204,10 +206,11 @@
             <if test="showTimeMorn != null and showTimeMorn != ''">show_time_morn,</if>
             <if test="libtemplateid != null ">libtemplateid,</if>
             <if test="libtemplatename != null  and libtemplatename != ''">libtemplatename,</if>
+            <if test="taskDesc != null  and taskDesc != ''">task_desc,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="svrtaskid != null">#{svrtaskid},</if>
-            <if test="taskname != null">#{taskname},</if>
+            <if test="taskName != null">#{taskName},</if>
             <if test="templateid != null">#{templateid},</if>
             <if test="templatename != null">#{templatename},</if>
             <if test="labelinfo != null">#{labelinfo},</if>
@@ -239,7 +242,7 @@
             <if test="pid != null">#{pid},</if>
             <if test="guid != null">#{guid},</if>
             <if test="preachform != null">#{preachform},</if>
-            <if test="isSend != null">#{isSend},</if>
+            <if test="sendType != null">#{sendType},</if>
             <if test="sendState != null">#{sendState},</if>
             <if test="param != null">#{param},</if>
             <if test="textParam != null">#{textParam},</if>
@@ -251,6 +254,7 @@
             <if test="showTimeMorn != null and showTimeMorn != ''">#{showTimeMorn},</if>
             <if test="libtemplateid != null ">#{libtemplateid},</if>
             <if test="libtemplatename != null  and libtemplatename != ''">#{libtemplatename},</if>
+            <if test="taskDesc != null  and taskDesc != ''">#{taskDesc},</if>
         </trim>
     </insert>
 
@@ -258,7 +262,7 @@
         update svy_task
         <trim prefix="SET" suffixOverrides=",">
             <if test="svrtaskid != null">svrtaskid = #{svrtaskid},</if>
-            <if test="taskname != null">taskname = #{taskname},</if>
+            <if test="taskName != null">task_name = #{taskName},</if>
             <if test="templateid != null">templateid = #{templateid},</if>
             <if test="templatename != null">templatename = #{templatename},</if>
             <if test="labelinfo != null">labelinfo = #{labelinfo},</if>
@@ -290,7 +294,7 @@
             <if test="pid != null">pid = #{pid},</if>
             <if test="guid != null">guid = #{guid},</if>
             <if test="preachform != null">preachform = #{preachform},</if>
-            <if test="isSend != null">is_send = #{isSend},</if>
+            <if test="sendType != null">send_type = #{sendType},</if>
             <if test="sendState != null">send_state = #{sendState},</if>
             <if test="param != null">param = #{param},</if>
             <if test="textParam != null">text_param = #{textParam},</if>
@@ -302,6 +306,7 @@
             <if test="showTimeMorn != null and showTimeMorn != ''">show_time_morn=#{showTimeMorn},</if>
             <if test="libtemplateid != null ">libtemplateid = #{libtemplateid},</if>
             <if test="libtemplatename != null  and libtemplatename != ''">libtemplatename = #{libtemplatename},</if>
+            <if test="taskDesc != null  and taskDesc != ''">task_desc=#{taskDesc},</if>
         </trim>
         where taskid = #{taskid}
     </update>

--
Gitblit v1.9.3