From 210077f73ea2bd232cf3a51c76d7a6d19e5df689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Thu, 13 Jun 2024 10:43:27 +0800 Subject: [PATCH] fixed --- api/controllers/plan/Licheb.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/api/controllers/plan/Licheb.php b/api/controllers/plan/Licheb.php index ba21bb9a..4309fee5 100644 --- a/api/controllers/plan/Licheb.php +++ b/api/controllers/plan/Licheb.php @@ -223,6 +223,9 @@ class Licheb extends HD_Controller foreach ($res_u as $key => $value) { $id = $value['id']; $biz_id = $value['biz_id']; + if ($biz_id == '1') { + continue; + } $where_v = ['a.biz_id' => $biz_id, 'a.status in(0,1)' => null, 'b.t_day' => $t_day, 'b.sales_id' => $id, 'b.status<>' => 2]; $visit_count = $this->mdCustomerVisitData->count_visit($where_v); @@ -287,9 +290,9 @@ class Licheb extends HD_Controller foreach ($res_u as $key => $value) { $id = $value['id']; $biz_id = $value['biz_id']; -// if ($biz_id == '1' || $biz_id == '110') { -// continue; -// } + if ($biz_id == '1') { + continue; + } $where_c = array("biz_id in ($biz_id)" => null, 'status' => 0, 'admin_id' => 0); $Customers_count = $this->mdCustomers->count($where_c); if ($Customers_count) {