超级管理员用户列表导出报错

dev_local
daiao 6 years ago
parent 1780153ba2
commit 30af40165d

@ -3345,7 +3345,7 @@ end
end end
@users = User.where(:id => user_id).where("#{sql}").includes(:apply_actions, user_extensions: [:department, :school]).order("last_login_on desc") @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 @page = (params['page'] || 1).to_i
@users_count = @users.count @users_count = @users.count
@limit = 20 @limit = 20

Loading…
Cancel
Save