diff --git a/app/views/admins/nps/index.html.erb b/app/views/admins/nps/index.html.erb index c7c208378..81e11dd2f 100644 --- a/app/views/admins/nps/index.html.erb +++ b/app/views/admins/nps/index.html.erb @@ -35,7 +35,7 @@ 期待更加丰富的功能:<%= UserNp.where("memo like '%期待更加丰富的功能%'").count %>, 希望有新手引导:<%= UserNp.where("memo like '%希望有新手引导%'").count %>, 提升用户体验:<%= UserNp.where("memo like '%用户体验需进一步提升%'").count %>, - 其他:<%= 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 %> + 其他:<%= UserNp.where("action_type !='close'").where("LENGTH(memo) >0").where.not(id: UserNp.where("memo like '%期待更加丰富的功能%' or memo like '%希望有新手引导%' or memo like '%用户体验需进一步提升%' ").ids).count %>