Browse Source

fixed nps统计

pull/313/head
“xxq250” 3 years ago
parent
commit
e33448db4d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/admins/nps/index.html.erb

+ 1
- 1
app/views/admins/nps/index.html.erb View File

@@ -35,7 +35,7 @@
期待更加丰富的功能:<span class="text-danger"><%= UserNp.where("memo like '%期待更加丰富的功能%'").count %></span>,
希望有新手引导:<span class="text-danger"><%= UserNp.where("memo like '%希望有新手引导%'").count %></span>,
提升用户体验:<span class="text-danger"><%= UserNp.where("memo like '%用户体验需进一步提升%'").count %></span>,
其他:<span class="text-danger"><%= UserNp.where("action_type !='close'").where("memo is not null").where.not(id: UserNp.where("memo like '%期待更加丰富的功能%' or memo like '%希望有新手引导%' or memo like '%用户体验需进一步提升%' ").ids).count %></span>
其他:<span class="text-danger"><%= UserNp.where("action_type !='close'").where("LENGTH(memo) >0").where.not(id: UserNp.where("memo like '%期待更加丰富的功能%' or memo like '%希望有新手引导%' or memo like '%用户体验需进一步提升%' ").ids).count %></span>
</p>
</div>
<div class="box admin-list-container users-list-container">


Loading…
Cancel
Save