From 6d51501ca93f5bf46759f851988650477cf32e6c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 12 六月 2024 18:02:45 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml
index 1dde1df..be61105 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml
@@ -41,14 +41,24 @@
         <result property="libtemplatename" column="libtemplatename"/>
         <result property="libtemplatename" column="libtemplatename"/>
         <result property="stopState" column="stop_state"/>
+        <result property="showDate" column="show_date"/>
+        <result property="showTimeMorn" column="show_time_morn"/>
+        <result property="showTimeNoon" column="show_time_noon"/>
+        <result property="showTimeNight" column="show_time_night"/>
+        <result property="textParam" column="text_param"/>
     </resultMap>
 
     <sql id="selectIvrTaskVo">
         select taskid,
                task_name,
+               show_date,
+               show_time_morn,
+               show_time_noon,
+               show_time_night,
                libtemplateid,
                libtemplatename,
                stop_state,
+               text_param,
                templateid,
                templatename,
                labelinfo,
@@ -85,7 +95,7 @@
         <include refid="selectIvrTaskVo"/>
         <where>
             <if test="taskName != null  and taskName != ''">and task_name like concat('%', #{taskName}, '%')</if>
-            <if test="sendTimeSlot != null  and sendTimeSlot != ''">and sendTimeSlot like concat('%', #{sendTimeSlot},
+            <if test="sendTimeSlot != null  and sendTimeSlot != ''">and send_time_slot like concat('%', #{sendTimeSlot},
                 '%')
             </if>
             <if test="templateid != null  and templateid != ''">and templateid = #{templateid}</if>
@@ -111,7 +121,6 @@
             <if test="hospType != null  and hospType != ''">and hosp_type = #{hospType}</if>
             <if test="libtemplateid != null ">and libtemplateid = #{libtemplateid}</if>
             <if test="libtemplatename != null  and libtemplatename != ''">and libtemplatename = #{libtemplatename}</if>
-            <if test="stopState != null  ">and stop_state = #{stopState}</if>
         </where>
         order by update_time desc,taskid desc
     </select>
@@ -157,8 +166,13 @@
             <if test="taskDesc != null  and taskDesc != ''">task_desc,</if>
             <if test="libtemplateid != null ">libtemplateid,</if>
             <if test="libtemplatename != null  and libtemplatename != ''">libtemplatename,</if>
-            <if test="sendTimeSlot != null  and sendTimeSlot != ''">sendTimeSlot,</if>
+            <if test="sendTimeSlot != null  and sendTimeSlot != ''">send_time_slot,</if>
             <if test="stopState != null">stop_state,</if>
+            <if test="showDate != null and showDate != ''">show_date,</if>
+            <if test="showTimeNight != null and showTimeNight != ''">show_time_night,</if>
+            <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>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="taskName != null">#{taskName},</if>
@@ -194,6 +208,11 @@
             <if test="libtemplatename != null  and libtemplatename != ''">#{libtemplatename},</if>
             <if test="sendTimeSlot != null  and sendTimeSlot != ''">#{sendTimeSlot},</if>
             <if test="stopState != null">#{stopState},</if>
+            <if test="showDate != null and showDate != ''">#{showDate},</if>
+            <if test="showTimeNight != null and showTimeNight != ''">#{showTimeNight},</if>
+            <if test="showTimeNoon != null and showTimeNoon != ''">#{showTimeNoon},</if>
+            <if test="showTimeMorn != null and showTimeMorn != ''">#{showTimeMorn},</if>
+            <if test="textParam != null and textParam != ''">#{textParam},</if>
         </trim>
     </insert>
 
@@ -233,6 +252,11 @@
             <if test="libtemplatename != null  and libtemplatename != ''">libtemplatename = #{libtemplatename},</if>
             <if test="sendTimeSlot != null  and sendTimeSlot != ''">send_time_slot=#{sendTimeSlot},</if>
             <if test="stopState != null ">stop_state=#{stopState},</if>
+            <if test="showDate != null and showDate != ''">show_date=#{showDate},</if>
+            <if test="showTimeNight != null and showTimeNight != ''">show_time_night=#{showTimeNight},</if>
+            <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>
         </trim>
         where taskid = #{taskid}
     </update>

--
Gitblit v1.9.3