| | |
| | | <result property="sendDay" column="send_day"/> |
| | | <result property="deptCode" column="dept_code"/> |
| | | <result property="longTemp" column="long_temp"/> |
| | | <result property="scoreType" column="score_type"/> |
| | | |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskTemplateVo"> |
| | | select id, |
| | | taskid, |
| | | score_type, |
| | | long_temp, |
| | | send_day, |
| | | recallcount, |
| | |
| | | <if test="recallcount != null">and recallcount = #{prologrecallcountue}</if> |
| | | <if test="deptCode != null">and dept_code = #{deptCode}</if> |
| | | <if test="longTemp != null">and long_temp = #{longTemp}</if> |
| | | <if test="scoreType != null ">and score_type = #{scoreType}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="sendDay != null ">send_day,</if> |
| | | <if test="deptCode != null">dept_code,</if> |
| | | <if test="longTemp != null">long_temp,</if> |
| | | <if test="scoreType != null ">score_type,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">#{taskid},</if> |
| | |
| | | <if test="sendDay != null ">#{sendDay},</if> |
| | | <if test="deptCode != null">#{deptCode},</if> |
| | | <if test="longTemp != null">#{longTemp},</if> |
| | | <if test="scoreType != null ">#{scoreType},</if> |
| | | |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="sendDay != null ">send_day = #{sendDay},</if> |
| | | <if test="deptCode != null">dept_code = #{deptCode},</if> |
| | | <if test="longTemp != null">long_temp = #{longTemp},</if> |
| | | <if test="scoreType != null ">score_type = #{scoreType},</if> |
| | | |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |