diff --git a/web/src/main/resources/sql/jlw/universitiesColleges.md b/web/src/main/resources/sql/jlw/universitiesColleges.md index 87d5f87b..469b67c9 100644 --- a/web/src/main/resources/sql/jlw/universitiesColleges.md +++ b/web/src/main/resources/sql/jlw/universitiesColleges.md @@ -239,14 +239,15 @@ getUniversitiesCollegesRuleInfoByOrgId SELECT ( SELECT count( 1 ) FROM teacher_open_course t WHERE t.teacher_open_course_status = 1 AND t.org_id = #orgId# ) AS course_info_count, - ( - SELECT - count( 1 ) - FROM - universities_colleges_jurisdiction_experimental_system t - WHERE - t.type = 1 - AND t.org_id IN ( SELECT max( universities_colleges_id ) FROM universities_colleges WHERE org_id = #orgId# )) AS application_count, + @//( + @//SELECT + @//count( 1 ) + @//FROM + @//universities_colleges_jurisdiction_experimental_system t + @//WHERE + @//t.type = 1 + @//AND t.org_id IN ( SELECT max( universities_colleges_id ) FROM universities_colleges WHERE org_id = #orgId# )) AS application_count, + (select count(1) from resources_application t) as application_count, ( SELECT count( 1 ) FROM teacher_open_course_merge_teacher t WHERE t.teacher_open_course_merge_teacher_status = 1 AND t.org_id = #orgId# ) AS teacher_count, ( SELECT count( 1 ) FROM teacher_open_course_merge_student t WHERE t.teacher_open_course_school_class_merge_student_status = 1 AND t.org_id = #orgId# ) AS student_count