yxh
yxh
2023-03-22 633f5ba20c9bd6fd1c154914a725fb1c3bf47376
smartor/src/main/resources/mapper/smartor/IvrLibaTargetMapper.xml
@@ -10,7 +10,7 @@
        <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"    />
@@ -34,7 +34,7 @@
    </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">
@@ -44,7 +44,7 @@
            <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>
@@ -76,7 +76,7 @@
            <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>
@@ -104,7 +104,7 @@
            <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>
@@ -135,7 +135,7 @@
            <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>