src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -778,8 +778,13 @@ and bu.real_name like concat('%', #{user.realName},'%') </if> <if test="user.dispatch!=null and user.dispatch != ''"> <if test="user.dispatch == 0"> and bu.dispatch = #{user.dispatch} </if> <if test="user.dispatch == 1"> and bu.dispatch = #{user.dispatch} </if> </if> <if test="user.userType!=null and user.userType != ''"> and bu.user_type = #{user.userType} </if>