完成用户第一阶段的需求
This commit is contained in:
@ -106,7 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
from cj_student
|
||||
where sfqr = 1
|
||||
and cast(bynf as unsigned)
|
||||
between YEAR(CURRENT_DATE) - #{year} + 1 and YEAR(CURRENT_DATE)
|
||||
between YEAR(CURRENT_DATE) - #{year} and YEAR(CURRENT_DATE)
|
||||
group by bynf order by bynf desc
|
||||
</select>
|
||||
|
||||
@ -120,7 +120,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
FROM cj_student
|
||||
where sfqr = 1 and sydsh is not null
|
||||
and cast(bynf as unsigned)
|
||||
between YEAR(CURRENT_DATE) - #{year} + 1 and YEAR(CURRENT_DATE)
|
||||
between YEAR(CURRENT_DATE) - #{year} and YEAR(CURRENT_DATE)
|
||||
GROUP BY
|
||||
CASE
|
||||
WHEN sydsh = '山东' THEN sydshi
|
||||
|
Reference in New Issue
Block a user