完成调查问卷的导入功能

This commit is contained in:
2025-07-15 13:40:40 +08:00
parent 220e5fa6e8
commit 2edea640d0
5 changed files with 17 additions and 11 deletions

View File

@ -99,8 +99,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
group by answer
</select>
<select id="selectBynf" resultType="com.ruoyi.dw.domain.vo.BynfVo">
select bynf,count(0) as bubf_count from cj_student where sfqr = 1 group by bynf order by bynf desc
<select id="selectBynf" resultType="com.ruoyi.dw.domain.vo.BynfVo" parameterType="int">
select bynf,count(0) as bubf_count
from cj_student
where sfqr = 1
and cast(bynf as unsigned)
between YEAR(CURRENT_DATE) - #{year} + 1 and YEAR(CURRENT_DATE)
group by bynf order by bynf desc
</select>
<select id="selectSyd" resultType="com.ruoyi.dw.domain.vo.SydVo">