diff --git a/web/src/main/resources/sql/jlw/student.md b/web/src/main/resources/sql/jlw/student.md index 020fd1af..1c7d8ac5 100644 --- a/web/src/main/resources/sql/jlw/student.md +++ b/web/src/main/resources/sql/jlw/student.md @@ -2174,11 +2174,13 @@ getStudentInfoByKeyword student.class_id AS classId, school_class.class_name AS className, student_sn AS studentNo, + us.university_system_name as majorName, 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 + JOIN university_system us on school_class.university_system_id = us.university_system_id WHERE student.student_name like #keyword+'%'# and universities_colleges.universities_colleges_id=#schoolId# @@ -2192,11 +2194,13 @@ pagedListStudentInfoByClassId student.class_id AS classId, school_class.class_name AS className, student_sn AS studentNo, + us.university_system_name as majorName, 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 + JOIN university_system us on school_class.university_system_id = us.university_system_id WHERE 1=1 @if(!isEmpty(classIds)){ and find_in_set(student.class_id ,#classIds#) @} \ No newline at end of file