From 6954a860af42d5530c1bcf6738a1501ac4bdb740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cxxq250=E2=80=9D?= <“xxq250@qq.com”> Date: Tue, 20 Sep 2022 09:47:29 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20nps=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/admins/nps/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %>