| | |
| | | resultMap="IvrLibaTargetoptionResult"> |
| | | <include refid="selectIvrLibaTargetoptionVo"/> |
| | | <where> |
| | | del_flag != 1 |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="targettype != null and targettype != ''">and targettype = #{targettype}</if> |
| | | <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, |
| | |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | |
| | | </where> |
| | | order by guid asc |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaTargetoptionByTargetoptionid" parameterType="Long" resultMap="IvrLibaTargetoptionResult"> |
| | |
| | | </update> |
| | | |
| | | <delete id="deleteIvrLibaTargetoptionByTargetoptionid" parameterType="Long"> |
| | | delete |
| | | from ivr_liba_targetoption |
| | | update ivr_liba_targetoption |
| | | set del_flag = 1 |
| | | where targetoptionid = #{targetoptionid} |
| | | </delete> |
| | | |