| | |
| | | <result property="guid" column="guid"/> |
| | | <result property="nodynamiccruxsJson" column="nodynamiccruxs"/> |
| | | <result property="dynamiccruxsJson" column="dynamiccruxs"/> |
| | | <result property="appendflag" column="appendflag"/> |
| | | <result property="appenddesc" column="appenddesc"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaScriptTargetoptionVo"> |
| | | select id, |
| | | targetid, |
| | | targetname, |
| | | appendflag, |
| | | appenddesc, |
| | | scriptid, |
| | | targettype, |
| | | categoryName, |
| | |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="nodynamiccruxsJson != null ">and nodynamiccruxs = #{nodynamiccruxsJson}</if> |
| | | <if test="dynamiccruxsJson != null ">and dynamiccruxs = #{dynamiccruxsJson}</if> |
| | | <if test="appendflag != null">and appendflag = #{appendflag}</if> |
| | | <if test="appenddesc != null">and appenddesc = #{appenddesc}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="guid != null">guid,</if> |
| | | <if test="nodynamiccruxsJson != null ">nodynamiccruxs,</if> |
| | | <if test="dynamiccruxsJson != null ">dynamiccruxs,</if> |
| | | <if test="appendflag != null">appendflag,</if> |
| | | <if test="appenddesc != null">appenddesc,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="nodynamiccruxsJson != null ">#{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null ">#{dynamiccruxsJson},</if> |
| | | <if test="appendflag != null">#{appendflag},</if> |
| | | <if test="appenddesc != null">#{appenddesc},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="nodynamiccruxsJson != null ">nodynamiccruxs = #{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null ">dynamiccruxs = #{dynamiccruxsJson},</if> |
| | | <if test="appendflag != null">appendflag = #{appendflag},</if> |
| | | <if test="appenddesc != null">appenddesc = #{appenddesc},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |