1
This commit is contained in:
@@ -1256,6 +1256,7 @@ class Customers extends Wxapp
|
||||
$where['b.status'] = $tab_id;
|
||||
} else {
|
||||
$where['b.status<>'] = 2;
|
||||
$where['b.t_day'] = $t_day;
|
||||
}
|
||||
}
|
||||
$group_id == 1 && $where['a.admin_id'] = $this->myuid;
|
||||
|
||||
@@ -330,7 +330,7 @@ class User extends Wxapp
|
||||
$where['un_lock'] = 1;
|
||||
}
|
||||
$unuse_count = $this->customers_model->count($where);
|
||||
$where = ['biz_id' => $biz_id, 'cs_biz_id<>' => -1, 'if_defeat' => 1, 'status>' => -1];
|
||||
$where = ['biz_id' => $biz_id, 'if_defeat' => 1, 'status>' => -1];
|
||||
$biz_type == Biz_model::BIZ_TYPE_4s && $where['un_lock'] = 1;
|
||||
$defeat_count = $this->customers_model->count($where);
|
||||
$clues_count = $this->clues_model->count(['biz_id' => $biz_id, 'status' => 1, 'status2' => 1]);
|
||||
@@ -368,8 +368,8 @@ class User extends Wxapp
|
||||
['title' => '发票开具', 'icon' => 'icon-kaipiao1', 'total' => $kp_total, 'page' => '/pages/order/filterList/index2?type=1&title=发票开具'],
|
||||
['title' => '车辆交付', 'icon' => 'icon-jiaofu', 'total' => $ck_total, 'page' => '/pages/order/filterList/index2?type=2&title=车辆交付'],
|
||||
];
|
||||
$where_v = ['a.biz_id' => $biz_id, 'a.cs_biz_id<>' => -1, 'a.status in(0,1)' => null, 'b.t_day' => date('Y-m-d')];
|
||||
$where_c = ['biz_id' => $biz_id, 'cs_biz_id<>' => -1, 'status in(0,1)' => null];
|
||||
$where_v = ['a.biz_id' => $biz_id, 'a.status in(0,1)' => null, 'b.t_day' => date('Y-m-d')];
|
||||
$where_c = ['biz_id' => $biz_id, 'status in(0,1)' => null];
|
||||
$group_id == 4 && $where_c['brand_id!='] = 3;
|
||||
$biz_type == Biz_model::BIZ_TYPE_4s && $where_c['un_lock'] = 1;
|
||||
if ($group_id == 1) {
|
||||
|
||||
Reference in New Issue
Block a user