liding
2025-04-10 3637c851cf6a63fc9cf2d8eab6a3fb139937aa71
ruoyi-system/src/main/resources/mapper/system/UserMapper.xml
@@ -24,8 +24,7 @@
        company,
        is_custom
        from user
        where del_flag = '0'
        and id != ) a
        where del_flag = '0') a
        <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
            ${ew.customSqlSegment}
        </if>
@@ -77,7 +76,8 @@
               u1.name_en,
               u1.depart_lims_id
        from user u1
        WHERE u1.id IN (SELECT user_id FROM sys_user_role sur where sur.role_id not in (1, 15, 16, 17))
        WHERE u1.id IN (SELECT user_id FROM sys_user_role sur where sur.role_id in (4))
--         WHERE u1.id IN (SELECT user_id FROM sys_user_role sur where sur.role_id not in (1, 15, 16, 17))
        and u1.status = '0'
    </select>