| | |
| | | <result property="isavailable" column="isavailable"/> |
| | | <result property="language" column="language"/> |
| | | <result property="otherdata" column="otherdata"/> |
| | | <result property="valueType" column="value_type"/> |
| | | <result property="reply" column="reply"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSvyLibTopicVo"> |
| | | select topicid, |
| | | oldid, |
| | | value_type, |
| | | reply, |
| | | svyid, |
| | | topictype, |
| | | topiccode, |
| | |
| | | suitway, |
| | | isavailable, |
| | | otherdata, |
| | | language, |
| | | language, |
| | | svy_topicid as svyTopicId |
| | | from svy_lib_topic |
| | | </sql> |
| | |
| | | <if test="isavailable != null and isavailable != ''">isavailable,</if> |
| | | <if test="language != null and language!=''">language,</if> |
| | | <if test="otherdata != null and otherdata!=''">otherdata,</if> |
| | | <if test="valueType != null and valueType!=''">value_type,</if> |
| | | <if test="reply != null and reply!=''">otherdata,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="oldid != null">#{oldid},</if> |
| | |
| | | <if test="isavailable != null and isavailable != ''">#{isavailable},</if> |
| | | <if test="language != null and language!=''">#{language},</if> |
| | | <if test="otherdata != null and otherdata!=''">#{otherdata},</if> |
| | | <if test="valueType != null and valueType!=''">#{valueType},</if> |
| | | <if test="reply != null and reply!=''">#{therdata},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="tag != null">tag = #{tag},</if> |
| | | <if test="language != null and language!=''">language = #{language},</if> |
| | | <if test="otherdata != null and otherdata!=''">otherdata = #{otherdata},</if> |
| | | <if test="valueType != null and valueType!=''">value_type = #{valueType},</if> |
| | | <if test="reply != null and reply!=''">therdata =#{therdata},</if> |
| | | </trim> |
| | | where topicid = #{topicid} |
| | | </update> |
| | |
| | | </delete> |
| | | |
| | | |
| | | </mapper> |
| | | </mapper> |