| | |
| | | <result property="appenddesc" column="appenddesc"/> |
| | | <result property="picturePath" column="picture_path"/> |
| | | <result property="isEnd" column="is_end"/> |
| | | <result property="isException" column="is_exception"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaScriptTargetoptionVo"> |
| | | select id, |
| | | targetid, |
| | | is_end, |
| | | is_exception, |
| | | picture_path, |
| | | targetname, |
| | | appendflag, |
| | |
| | | <if test="appendflag != null">and appendflag = #{appendflag}</if> |
| | | <if test="appenddesc != null">and appenddesc = #{appenddesc}</if> |
| | | <if test="picturePath != null">and picture_path = #{picturePath}</if> |
| | | <if test="isException != null">and is_exception = #{isException}</if> |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaScriptTargetoptionByTargetoptionid" parameterType="String" |
| | |
| | | <if test="appenddesc != null">appenddesc,</if> |
| | | <if test="picturePath != null">picture_path,</if> |
| | | <if test="isEnd != null ">is_end,</if> |
| | | <if test="isException != null ">is_exception,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | |
| | | <if test="appenddesc != null">#{appenddesc},</if> |
| | | <if test="picturePath != null">#{picturePath},</if> |
| | | <if test="isEnd != null ">#{isEnd},</if> |
| | | <if test="isException != null ">#{isException},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="appenddesc != null">appenddesc = #{appenddesc},</if> |
| | | <if test="picturePath != null">picture_path = #{picturePath},</if> |
| | | <if test="isEnd != null ">is_end = #{isEnd},</if> |
| | | <if test="isException != null ">is_exception = #{isException},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |