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>