diff --git a/gan-modules/ruoyi-gan/src/main/resources/mapper/app/AppUserMapper.xml b/gan-modules/ruoyi-gan/src/main/resources/mapper/app/AppUserMapper.xml index f353bbd..a32843b 100644 --- a/gan-modules/ruoyi-gan/src/main/resources/mapper/app/AppUserMapper.xml +++ b/gan-modules/ruoyi-gan/src/main/resources/mapper/app/AppUserMapper.xml @@ -142,17 +142,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" s.name as "schoolName" from app_user a left join app_school s on s.id = a.school - where a.id = #{id} - and is_member = #{isMember} - and id != #{appId} - and school = #{school} - and company_name like concat('%', #{companyName}, '%') - and a.id not in + where + and a.is_member = #{isMember} + and a.id != #{appId} + and a.school = #{school} + and a.company_name like concat('%', #{companyName}, '%') + and a.id not in #{item} - and a.id in + and a.id in #{item}