| | |
| | | <result property="tag" column="tag"/> |
| | | <result property="valueType" column="value_type"/> |
| | | <result property="reply" column="reply"/> |
| | | <result property="targetdesc" column="targetdesc"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaScriptVo"> |
| | | select id, |
| | | suitway, |
| | | targetdesc, |
| | | campus, |
| | | deptNames, |
| | | deptIds, |
| | |
| | | <if test="otherdata != null">otherdata,</if> |
| | | <if test="valueType != null">value_type,</if> |
| | | <if test="reply != null">reply,</if> |
| | | <if test="targetdesc != null">targetdesc,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="questiontitle != null">#{questiontitle},</if> |
| | |
| | | <if test="otherdata != null">#{otherdata},</if> |
| | | <if test="valueType != null">#{valueType},</if> |
| | | <if test="reply != null">#{reply},</if> |
| | | <if test="targetdesc != null">#{targetdesc},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="tag != null">tag = #{tag},</if> |
| | | <if test="valueType != null">value_type = #{valueType},</if> |
| | | <if test="reply != null">reply = #{reply},</if> |
| | | <if test="targetdesc != null">targetdesc = #{targetdesc},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |