| | |
| | | resultMap="IvrLibaScriptTargetResult"> |
| | | <include refid="selectIvrLibaScriptTargetVo"/> |
| | | WHERE 1=1 |
| | | |
| | | <if test="scriptid != null ">and scriptid = #{scriptid}</if> |
| | | <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}, |
| | | AND '%') |
| | | <if test="categoryName != null and categoryName != ''"> |
| | | and categoryName like concat('%', #{categoryName},'%') |
| | | </if> |
| | | <if test="targetValue != null and targetValue != ''">and targetValue = #{targetValue}</if> |
| | | <if test="basicRegex != null and basicRegex != ''">and basicRegex = #{basicRegex}</if> |
| | |
| | | <if test="warnup != null ">and warnup = #{warnup}</if> |
| | | <if test="warndown != null">and warndown = #{warndown}</if> |
| | | <if test="picturePath != null and picturePath != ''">and picture_path = #{picturePath}</if> |
| | | |
| | | </select> |
| | | |
| | | <select id="selectIvrLibaScriptTargetByQuestionTargetID" parameterType="String" |