diff --git a/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml b/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml index ddc9a53..c842e23 100644 --- a/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/study/StudentMapper.xml @@ -171,6 +171,10 @@ #{phone} + + AND (DATE_FORMAT(c.start_time, '%Y') = #{params.studentId} + OR DATE_FORMAT(c.start_time, '%Y') = #{params.studentId}) + and s.delete_enum = 'FALSE' and c.delete_enum = 'FALSE' and c.state != 1