From a1f288daf4bff27eef2374b604f68b65464a5b80 Mon Sep 17 00:00:00 2001 From: wyj2080 <1603068044@qq.com> Date: Fri, 10 Apr 2020 14:31:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E5=85=B3=E8=81=94=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E6=95=B0bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/kiisoo/ic/customer/service/CustomerViewService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java b/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java index 5b2e647..e5a78b0 100644 --- a/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java +++ b/src/main/java/com/kiisoo/ic/customer/service/CustomerViewService.java @@ -130,7 +130,7 @@ public class CustomerViewService { customerViewVO.setCommon(common); //未关联的客户数 Long customer = customerList.stream().filter(customerDO -> ZERO_L.equals(customerDO.getMemberId())).map(OpCustomer::getPhone).distinct().count(); - customerViewVO.setCustomer(customer - common); + customerViewVO.setCustomer(customer); //未关联会员数 Long vip = vipList.stream().map(OpVip::getPhone).distinct().count(); customerViewVO.setVip(vip - common);