fixed
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user