@@ -10,7 +10,7 @@ | |||
<select id="analyzeType" resultType="com.tuoheng.admin.entity.vo.QuestionTypeCountVO"> | |||
select q.type,count(q.id) as quantity | |||
from th_question q | |||
where q.mission_id=#{missionId} | |||
where q.mission_id=#{missionId} and q.status=1 | |||
group by q.type; | |||
</select> | |||
</mapper> |