From e95c4e5e9a6311bb43cd2cb31cdad4406047d9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B2=85?= <907037276@qq.com> Date: Mon, 23 Oct 2023 19:14:09 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81swagger=E6=8E=A5=E5=8F=A3=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/main/resources/sql/jlw/schoolClass.md | 6 +++++- web/src/main/resources/sql/jlw/student.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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