From c5916c95d16d5de47daa7e4d15a935b3416719da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B2=85?= <907037276@qq.com> Date: Wed, 25 Oct 2023 10:03:01 +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/student.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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#)