ecloud_sso
anke1460 5 years ago
parent 6637e8110d
commit d21ddc8444

@ -49,8 +49,8 @@ namespace :tfxy do
department_id: departemnt.id
)
open_user = OpenUsers::Cas.find_or_initialize_by(uid: student_data.cell(r, 1)) do |u|
u.extra = {phone: student_data.cell(r, 8)}
open_user = OpenUsers::Cas.find_or_initialize_by(uid: teach_data.cell(r, 1)) do |u|
u.extra = {phone: teach_data.cell(r, 8)}
u.user_id = user.id
end

Loading…
Cancel
Save