diff --git a/app/views/admins/nps/index.html.erb b/app/views/admins/nps/index.html.erb index 5c083f33c..680b9ceb8 100644 --- a/app/views/admins/nps/index.html.erb +++ b/app/views/admins/nps/index.html.erb @@ -31,7 +31,7 @@ 最高评分/评分人数:<%=@max_score.to_i %>/<%= UserNp.where("action_type !='close'").where(score: @max_score).count %>
- 填写意见用户数/用户总数:<%= UserNp.where("memo is not null").count %>/<%= UserNp.count %>, + 填写意见用户数/用户总数:<%= UserNp.where("LENGTH(memo) >0").count %>/<%= UserNp.count %>, 期待更加丰富的功能:<%= UserNp.where("memo like '%期待更加丰富的功能%'").count %>, 希望有新手引导:<%= UserNp.where("memo like '%希望有新手引导%'").count %>, 提升用户体验:<%= UserNp.where("memo like '%用户体验需进一步提升%'").count %>,