| | |
| | | <result property="isEnd" column="is_end"/> |
| | | <result property="sendTaskid" column="send_taskid"/> |
| | | <result property="sendTaskname" column="send_taskname"/> |
| | | <result property="isException" column="is_exception"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskTemplateTargetoptionVo"> |
| | | select id, |
| | | taskid, |
| | | is_exception, |
| | | send_taskid, |
| | | send_taskname, |
| | | is_end, |
| | |
| | | <include refid="selectIvrTaskTemplateTargetoptionVo"/> |
| | | where 1=1 |
| | | <if test="taskid != null ">and taskid = #{taskid}</if> |
| | | <if test="isException != null ">and is_exception = #{isException}</if> |
| | | <if test="isEnd != null ">and is_end = #{isEnd}</if> |
| | | <if test="templateID != null ">and templateID = #{templateID}</if> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | |
| | | <if test="isEnd != null ">is_end,</if> |
| | | <if test="sendTaskid != null">send_taskid,</if> |
| | | <if test="sendTaskname != null">send_taskname,</if> |
| | | <if test="isException != null ">is_exception,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">#{taskid},</if> |
| | |
| | | <if test="isEnd != null ">#{isEnd},</if> |
| | | <if test="sendTaskid != null">#{sendTaskid},</if> |
| | | <if test="sendTaskname != null">#{sendTaskname},</if> |
| | | <if test="isException != null ">#{isException},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="isEnd != null ">is_end = #{isEnd},</if> |
| | | <if test="sendTaskid != null">send_taskid= #{sendTaskid},</if> |
| | | <if test="sendTaskname != null">send_taskname = #{sendTaskname},</if> |
| | | <if test="isException != null ">is_exception = #{isException},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |