吉安感知网项目-后端
linwei
2026-04-22 de09889cb97fcd7e9ae3236d3cb0d9f2f752e439
drone-service/drone-system/src/main/java/org/sxkj/system/mapper/RoleMapper.xml
@@ -96,4 +96,20 @@
        </if>
    </select>
    <!--角色列表查询(排除超级管理员)-->
    <select id="selectRoleList" resultType="org.sxkj.system.entity.Role">
        SELECT * FROM blade_role
        WHERE is_deleted = 0
        AND id != 1123598816738675201
        <if test="roleName!=null and roleName!=''">
            AND role_name LIKE concat('%', #{roleName}, '%')
        </if>
        <if test="roleAlias!=null and roleAlias!=''">
            AND role_alias LIKE concat('%', #{roleAlias}, '%')
        </if>
        <if test="sysType!=null and sysType!=''">
            AND sys_type IN (#{sysType},'0')
        </if>
    </select>
</mapper>