diff --git a/web/src/main/resources/sql/jlw/schoolClass.md b/web/src/main/resources/sql/jlw/schoolClass.md index 6d4fd257..bb1e85da 100644 --- a/web/src/main/resources/sql/jlw/schoolClass.md +++ b/web/src/main/resources/sql/jlw/schoolClass.md @@ -188,4 +188,8 @@ getAllSchoolClass getClassesByOrgId === select school_class.class_id as classId,school_class.class_name as className from school_class join universities_colleges on -school_class.universities_colleges_id = universities_colleges.universities_colleges_id where universities_colleges.universities_colleges_id = #orgId# ORDER BY class_id \ No newline at end of file +school_class.universities_colleges_id = universities_colleges.universities_colleges_id where universities_colleges.universities_colleges_id = #orgId# ORDER BY class_id + +getClassListByMajorId +=== +select class_id as id,class_name as name from school_class where university_system_id = #majorId# \ No newline at end of file diff --git a/web/src/main/resources/sql/jlw/student.md b/web/src/main/resources/sql/jlw/student.md index 440144c0..56e956e2 100644 --- a/web/src/main/resources/sql/jlw/student.md +++ b/web/src/main/resources/sql/jlw/student.md @@ -2149,4 +2149,4 @@ queryStudentTeacherOrUseLogBy getStudentInfoByClassId === -select student_id as id,student_name as name,student.class_id as classId,school_class.class_name as className,student_sn as studentNo from student join school_class on student.class_id=school_class.class_id where student.class_id in (#classIds#) \ No newline at end of file +select user_id as id,student_name as name,student.class_id as classId,school_class.class_name as className,student_sn as studentNo from student join school_class on student.class_id=school_class.class_id where student.class_id in (#classIds#) \ No newline at end of file