Browse Source

问题的类型数量是已确认的数据

tags/v1.1.0
qiujinyang 2 years ago
parent
commit
9a84e61262
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-admin/src/main/resources/mapper/QuestionMapper.xml

+ 1
- 1
tuoheng-admin/src/main/resources/mapper/QuestionMapper.xml View File

@@ -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>

Loading…
Cancel
Save