| | |
| | | <result property="categoryName" column="categoryName" /> |
| | | <result property="targetValue" column="targetValue" /> |
| | | <result property="targetRegex" column="targetRegex" /> |
| | | <result property="description" column="description" /> |
| | | <result property="note" column="note" /> |
| | | <result property="language" column="language" /> |
| | | <result property="version" column="version" /> |
| | | <result property="isEnable" column="isEnable" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTargetVo"> |
| | | select targetID, targetType, categoryName, targetValue, targetRegex, description, language, version, isEnable, isDel, addUserID, addTime, modifyUserID, modifyTime, groupID, isAbnormal, WarnUp, WarnDown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_liba_target |
| | | select targetID, targetType, categoryName, targetValue, targetRegex, note, language, version, isEnable, isDel, addUserID, addTime, modifyUserID, modifyTime, groupID, isAbnormal, WarnUp, WarnDown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_liba_target |
| | | </sql> |
| | | |
| | | <select id="selectIvrLibaTargetList" parameterType="IvrLibaTarget" resultMap="IvrLibaTargetResult"> |
| | |
| | | <if test="categoryName != null and categoryName != ''"> and categoryName like concat('%', #{categoryName}, '%')</if> |
| | | <if test="targetValue != null and targetValue != ''"> and targetValue = #{targetValue}</if> |
| | | <if test="targetRegex != null and targetRegex != ''"> and targetRegex = #{targetRegex}</if> |
| | | <if test="description != null and description != ''"> and description = #{description}</if> |
| | | <if test="note != null and note != ''"> and note = #{note}</if> |
| | | <if test="language != null and language != ''"> and language = #{language}</if> |
| | | <if test="version != null "> and version = #{version}</if> |
| | | <if test="isEnable != null "> and isEnable = #{isEnable}</if> |
| | |
| | | <if test="categoryName != null and categoryName != ''">categoryName,</if> |
| | | <if test="targetValue != null">targetValue,</if> |
| | | <if test="targetRegex != null">targetRegex,</if> |
| | | <if test="description != null">description,</if> |
| | | <if test="note != null">note,</if> |
| | | <if test="language != null and language != ''">language,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="isEnable != null">isEnable,</if> |
| | |
| | | <if test="categoryName != null and categoryName != ''">#{categoryName},</if> |
| | | <if test="targetValue != null">#{targetValue},</if> |
| | | <if test="targetRegex != null">#{targetRegex},</if> |
| | | <if test="description != null">#{description},</if> |
| | | <if test="note != null">#{note},</if> |
| | | <if test="language != null and language != ''">#{language},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="isEnable != null">#{isEnable},</if> |
| | |
| | | <if test="categoryName != null and categoryName != ''">categoryName = #{categoryName},</if> |
| | | <if test="targetValue != null">targetValue = #{targetValue},</if> |
| | | <if test="targetRegex != null">targetRegex = #{targetRegex},</if> |
| | | <if test="description != null">description = #{description},</if> |
| | | <if test="note != null">note = #{note},</if> |
| | | <if test="language != null and language != ''">language = #{language},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="isEnable != null">isEnable = #{isEnable},</if> |