修改导入的一些bug
This commit is contained in:
@ -90,12 +90,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</delete>
|
||||
|
||||
<select id="selectIndex" resultType="com.ruoyi.dw.domain.vo.AnswerCountVo">
|
||||
select answer, count(0) as answer_count from dw_answer
|
||||
where indo_id = #{infoId}
|
||||
and question_id in
|
||||
<foreach item="questionId" collection="questionIds" open="(" separator="," close=")">
|
||||
#{questionId}
|
||||
</foreach>
|
||||
select answer, count(0) as answer_count
|
||||
from dw_answer
|
||||
where indo_id = #{infoId}
|
||||
and question_id = #{questionId}
|
||||
group by answer
|
||||
</select>
|
||||
|
||||
|
Reference in New Issue
Block a user