feat(study): 添加学生统计查询中的年份筛选功能
parent
12407cb28a
commit
71e7ec40cc
|
|
@ -171,6 +171,10 @@
|
|||
#{phone}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="params.year != null and params.year != ''">
|
||||
AND (DATE_FORMAT(c.start_time, '%Y') = #{params.studentId}
|
||||
OR DATE_FORMAT(c.start_time, '%Y') = #{params.studentId})
|
||||
</if>
|
||||
and s.delete_enum = 'FALSE'
|
||||
and c.delete_enum = 'FALSE'
|
||||
and c.state != 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue