| | |
| | | resultMap="IvrLibaTemplateScriptResult"> |
| | | <include refid="selectIvrLibaTemplateScriptVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | <if test="templateQuestionNum != null ">and templateQuestionNum = #{templateQuestionNum}</if> |
| | | <if test="templateID != null ">and templateID = #{templateID}</if> |
| | | <if test="questionPoint != null and questionPoint != ''">and questionPoint = #{questionPoint}</if> |
| | |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="templateQuestionNum != null">templateQuestionNum,</if> |
| | | <if test="templateID != null">templateID,</if> |
| | | <if test="scriptID != null">scriptID,</if> |
| | | <if test="scriptid != null">scriptID,</if> |
| | | <if test="questionPoint != null and questionPoint != ''">questionPoint,</if> |
| | | <if test="questionText != null">questionText,</if> |
| | | <if test="questionVoice != null">questionVoice,</if> |
| | |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="templateQuestionNum != null">#{templateQuestionNum},</if> |
| | | <if test="templateID != null">#{templateID},</if> |
| | | <if test="scriptID != null">#{scriptID},</if> |
| | | <if test="scriptid != null">#{scriptid},</if> |
| | | <if test="questionPoint != null and questionPoint != ''">#{questionPoint},</if> |
| | | <if test="questionText != null">#{questionText},</if> |
| | | <if test="questionVoice != null">#{questionVoice},</if> |
| | |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="templateQuestionNum != null">templateQuestionNum = #{templateQuestionNum},</if> |
| | | <if test="templateID != null">templateID = #{templateID},</if> |
| | | <if test="scriptID != null">scriptID = #{scriptID},</if> |
| | | <if test="scriptid != null">scriptID = #{scriptid},</if> |
| | | <if test="questionPoint != null and questionPoint != ''">questionPoint = #{questionPoint},</if> |
| | | <if test="questionText != null">questionText = #{questionText},</if> |
| | | <if test="questionVoice != null">questionVoice = #{questionVoice},</if> |