工程认证报错

dev_aliyun
daiao 5 years ago
parent 7cb0433a08
commit 7bb5548fe0

@ -11,7 +11,7 @@ module EcMajorSchoolsHelper
relations = EcGraduationRequirementCalculation.joins(ec_course_support: :ec_graduation_subitem_courses).where('ec_graduation_subitem_id in (?)', subitem_ids)
reached_map = relations.where(status: true).group('ec_graduation_subitem_id').count
reached_map = relations.where(status: true).group('ec_graduation_subitem_courses.ec_graduation_subitem_id').count
reached_map.keys.size
end

Loading…
Cancel
Save