@@ -58,8 +58,7 @@ | |||
<select id="getCategoryQuestionInfo" resultType="java.util.Map"> | |||
SELECT o.category, count(q.question_id) AS total_num FROM tauv_inspect_question AS q | |||
INNER JOIN tauv_question_options AS o ON o.id=q.question_id | |||
WHERE q.status < 2 AND o.category=#{category} AND q.mark=1 AND q.mark=1 | |||
GROUP BY o.category | |||
WHERE q.status <= 2 AND o.category=#{category} AND q.mark=1 AND q.mark=1 | |||
</select> | |||
<!-- 大屏巡检问题河湖统计 --> |