xiaoyong931011
2022-07-07 50a170ab1b38e97063e7a32da51e07b939638e8d
src/main/resources/mapper/RoleMapper.xml
@@ -12,8 +12,8 @@
                <if test="record.roleName!=null">
                    and a.role_name like concat ('%',#{record.roleName},'%')
                </if>
                <if test="record.belongId!=null">
                    and a.company_id = #{record.belongId}
                <if test="record.companyId!=null">
                    and a.company_id = #{record.companyId}
                </if>
            </if>
        </where>