修改提出的问题和新需求

This commit is contained in:
2025-07-30 10:09:14 +08:00
parent e08e1689a7
commit ecd499a497
11 changed files with 140 additions and 12 deletions

View File

@ -118,7 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
END AS city,
COUNT(*) AS student_count
FROM cj_student
where sfqr = 1
where sfqr = 1 and sydsh is not null
and cast(bynf as unsigned)
between YEAR(CURRENT_DATE) - #{year} + 1 and YEAR(CURRENT_DATE)
GROUP BY