|
@@ -3,9 +3,9 @@
|
|
|
<mapper namespace="com.fdkankan.manage.mapper.IFeedbackMapper">
|
|
|
|
|
|
<select id="scoreAugHardware" resultType="com.fdkankan.manage.vo.response.GroupByAvg">
|
|
|
- select hardware_option_id as id ,avg(score) as avgCount from t_feedback group by hardware_option_id
|
|
|
+ select hardware_option_id as id ,avg(score) as avgCount from t_feedback where score !=0 group by hardware_option_id
|
|
|
</select>
|
|
|
<select id="scoreAugSoftware" resultType="com.fdkankan.manage.vo.response.GroupByAvg">
|
|
|
- select software_option_id as id ,avg(score) as avgCount from t_feedback group by software_option_id
|
|
|
+ select software_option_id as id ,avg(score) as avgCount from t_feedback where score !=0 group by software_option_id
|
|
|
</select>
|
|
|
</mapper>
|