@ -3345,7 +3345,7 @@ end
end
@users = User.where(:id => user_id).where("#{sql}").includes(:apply_actions, user_extensions: [:department, :school]).order("last_login_on desc")
@xls_users = @users #导出excel用户
@xls_users = @users.reorder("created_on desc").limit(1000) #导出excel用户
@page = (params['page'] || 1).to_i
@users_count = @users.count
@limit = 20