From f455524346fe74e3d626e5b70bd401c88e066601 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期二, 25 六月 2024 09:42:54 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml | 32 +++++++++++++++++++++++++++----- 1 files changed, 27 insertions(+), 5 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml index 1dde1df..8bd3dbf 100644 --- a/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/IvrTaskMapper.xml @@ -38,17 +38,25 @@ <result property="libtemplateid" column="libtemplateid"/> <result property="libtemplatename" column="libtemplatename"/> <result property="sendTimeSlot" column="send_time_slot"/> - <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 +93,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 +119,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 +164,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 +206,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 +250,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