From 23d5bd7666d27290798a545b7a70ff11f0e2856c Mon Sep 17 00:00:00 2001 From: zhaokai Date: Tue, 10 Mar 2026 19:26:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(student):=20=E6=B7=BB=E5=8A=A0=E6=95=99?= =?UTF-8?q?=E5=B8=88=E5=85=B3=E8=81=94=E6=9F=A5=E8=AF=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/study/StudentMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml b/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml index a26687e..11ca046 100644 --- a/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml @@ -315,7 +315,7 @@ and c.state != 1 left join user u on u.phone = s.phone and u.delete_enum = 'FALSE' left join teacher t on t.id = c.teacher_id - left join user tea on c.teacher_id = tea.id and tea.delete_enum = 'FALSE' + LEFT JOIN user tea ON t.user_id = tea.id AND tea.delete_enum = 'FALSE' s.delete_enum = 'FALSE'