dev_newshixunModel
p31729568 5 years ago
parent 89aed376b8
commit 4e8e88386d

@ -11,7 +11,7 @@ class EcCourseEvaluation < ApplicationRecord
enum score_type: { detail: 1, average: 2 }, _suffix: :score_type # :detail_score_type?, :average_score_type?
accepts_nested_attributes_for :ec_course_evaluation_subitems, allow_destroy: true
alias_method :evaluation_count, :evluation_count
alias_attribute :evaluation_count, :evluation_count
def imported?
import_status?

Loading…
Cancel
Save