fix copy ec year

pre_develop
p31729568 6 years ago
parent 478b73bbfb
commit bef79a52c2

@ -224,7 +224,7 @@
to_relate.attributes = relate.attributes.except('id', 'ec_course_achievement_method_id', 'ec_course_target_id',
'ec_course_evaluation_subitem_id', 'created_at', 'updated_at')
to_relate.ec_course_target_id = course_target_map[relate.ec_course_target_id]
to_relate.ec_course_evaluation_subitem_id = course_target_map[relate.ec_course_evaluation_subitem_id]
to_relate.ec_course_evaluation_subitem_id = course_evaluation_subitem_map[relate.ec_course_evaluation_subitem_id]
to_relate.save!
achievement_evaluation_relates_map[relate.id] = to_relate.id

Loading…
Cancel
Save