| | |
| | | <result property="sendDay" column="send_day"/> |
| | | <result property="longTemp" column="long_temp"/> |
| | | <result property="deptCode" column="dept_code"/> |
| | | <result property="scoreType" column="score_type"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplateVo"> |
| | | select id, |
| | | revisit_before, |
| | | revisit_after, |
| | | score_type, |
| | | send_day, |
| | | dept_code, |
| | | long_temp, |
| | |
| | | a.revisit_before, |
| | | a.revisit_after, |
| | | a.send_day, |
| | | a.score_type, |
| | | a.dept_code, |
| | | a.long_temp, |
| | | a.templateName, |
| | |
| | | '%') |
| | | </if> |
| | | <if test="id != null ">and a.id = #{id}</if> |
| | | <if test="scoreType != null ">and a.score_type = #{scoreType}</if> |
| | | <if test="tag != null ">and b.tag_name = #{tag}</if> |
| | | <if test="sendDay != null ">and a.send_day = #{sendDay}</if> |
| | | <if test="longTemp != null ">and a.long_temp = #{longTemp}</if> |
| | |
| | | a.isenable, |
| | | a.campus, |
| | | a.suitway, |
| | | a.score_type, |
| | | a.mate_num, |
| | | a.no_voice_num, |
| | | a.submodule, a.language, a.note, |
| | |
| | | <if test="sendDay != null ">send_day,</if> |
| | | <if test="longTemp != null ">long_temp,</if> |
| | | <if test="deptCode != null">dept_code,</if> |
| | | <if test="scoreType != null">score_type,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="templateName != null and templateName != ''">#{templateName},</if> |
| | |
| | | <if test="sendDay != null ">#{sendDay},</if> |
| | | <if test="longTemp != null ">#{longTemp},</if> |
| | | <if test="deptCode != null">#{deptCode},</if> |
| | | <if test="scoreType != null">#{scoreType},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="sendDay != null ">send_day = #{sendDay},</if> |
| | | <if test="longTemp != null ">long_temp = #{longTemp},</if> |
| | | <if test="deptCode != null">dept_code = #{deptCode},</if> |
| | | <if test="scoreType != null">score_type = #{scoreType},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |