陈昶聿
6 天以前 987e38327f849e1b13d8541246dde08d877db0e8
ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
@@ -37,7 +37,6 @@
    <!-- 查询条件 -->
    <sql id="sqlwhereSearch">
        WHERE 1=1
            <if test="configId !=null">
                and config_id = #{configId}
            </if>
@@ -47,7 +46,6 @@
            <if test="orgid !=null and orgid != ''">
                and orgid = #{orgid}
            </if>
    </sql>
    <select id="selectConfig" parameterType="SysConfig" resultMap="SysConfigResult">
@@ -58,6 +56,7 @@
    <select id="selectConfigList" parameterType="SysConfig" resultMap="SysConfigResult">
        <include refid="selectConfigVo"/>
        WHERE 1=1
            <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if>
            <if test="configName != null and configName != ''">
                AND config_name like concat('%', #{configName}, '%')