| | |
| | | <result property="appenddesc" column="appenddesc"/> |
| | | <result property="optionCode" column="option_code"/> |
| | | <result property="isUserOperation" column="is_user_operation"/> |
| | | <result property="score" column="score"/> |
| | | <result property="prompt" column="prompt"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskTemplateTargetoptionVo"> |
| | | select id, |
| | | taskid, |
| | | templateID, |
| | | score, |
| | | is_user_operation, |
| | | appenddesc, |
| | | targetid, |
| | |
| | | <if test="appenddesc != null ">and appenddesc = #{appenddesc}</if> |
| | | <if test="optionCode != null ">and option_code = #{optionCode}</if> |
| | | <if test="isUserOperation != null ">and is_user_operation = #{isUserOperation}</if> |
| | | <if test="score != null ">and score = #{score}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="appenddesc != null">appenddesc,</if> |
| | | <if test="optionCode != null ">option_code,</if> |
| | | <if test="isUserOperation != null ">is_user_operation,</if> |
| | | <if test="score != null ">score,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">#{taskid},</if> |
| | |
| | | <if test="appenddesc != null">#{appenddesc},</if> |
| | | <if test="optionCode != null ">#{optionCode},</if> |
| | | <if test="isUserOperation != null ">#{isUserOperation},</if> |
| | | <if test="score != null ">#{score},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="appenddesc != null">appenddesc = #{appenddesc},</if> |
| | | <if test="optionCode != null ">option_code = #{optionCode},</if> |
| | | <if test="isUserOperation != null ">is_user_operation = #{isUserOperation},</if> |
| | | <if test="score != null ">score = #{score},</if> |
| | | |
| | | </trim> |
| | | where id = #{id} |