diff --git a/web/src/main/resources/sql/jlw/student.md b/web/src/main/resources/sql/jlw/student.md index 1c7d8ac5..3914aff6 100644 --- a/web/src/main/resources/sql/jlw/student.md +++ b/web/src/main/resources/sql/jlw/student.md @@ -2155,13 +2155,15 @@ getStudentInfoByClassId student_name AS NAME, student.class_id AS classId, school_class.class_name AS className, + us.university_system_name as majorName, student_sn AS studentNo, universities_colleges_name as schoolName FROM student JOIN school_class ON student.class_id = school_class.class_id JOIN universities_colleges on school_class.universities_colleges_id = universities_colleges.universities_colleges_id - WHERE + JOIN university_system us on school_class.university_system_id = us.university_system_id +WHERE student.class_id IN (#classIds#)