| | |
| | | from svy_lib_topicoption |
| | | </sql> |
| | | |
| | | <select id="selectSvyLibTopicoptionList" parameterType="com.smartor.domain.SvyLibTopicoption" resultMap="SvyLibTopicoptionResult"> |
| | | <select id="selectSvyLibTopicoptionList" parameterType="com.smartor.domain.SvyLibTopicoption" |
| | | resultMap="SvyLibTopicoptionResult"> |
| | | <include refid="selectSvyLibTopicoptionVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | <if test="topicid != null ">and topicid = #{topicid}</if> |
| | | <if test="svyid != null ">and svyid = #{svyid}</if> |
| | | <if test="topictype != null ">and topictype = #{topictype}</if> |
| | |
| | | where optionid = #{optionid} |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTopicoptionByOptionid" parameterType="Long"> |
| | | delete |
| | | from svy_lib_topicoption |
| | | <update id="deleteSvyLibTopicoptionByOptionid" parameterType="Long"> |
| | | update svy_lib_topicoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | del_flag = 1 |
| | | </trim> |
| | | where optionid = #{optionid} |
| | | </delete> |
| | | </update> |
| | | |
| | | <delete id="deleteSvyLibTopicoptionByOptionids" parameterType="String"> |
| | | delete from svy_lib_topicoption where optionid in |