dev_bj
cxt 5 years ago
parent e2de354d18
commit 4cd076a926

@ -2434,7 +2434,7 @@ class CoursesController < ApplicationController
sheet1[count_row,column+=1] = member.user.login sheet1[count_row,column+=1] = member.user.login
sheet1[count_row,column+=1] = member.user.mail sheet1[count_row,column+=1] = member.user.mail
sheet1[count_row,column+=1] = member.user.user_extensions.student_id sheet1[count_row,column+=1] = member.user.user_extensions.student_id
sheet1[count_row,column+=1] = member.course_group_id == 0 ? "暂无" : member.course_group.name sheet1[count_row,column+=1] = member.course_group_id == 0 ? "暂无" : member.course_group.try(:name)
# current_col = 5 # current_col = 5
shixun_score = 0 shixun_score = 0
homeworks.where(:homework_type => 4).each do |homework| homeworks.where(:homework_type => 4).each do |homework|

Loading…
Cancel
Save