diff --git a/api/controllers/wxapp/licheb/Customers.php b/api/controllers/wxapp/licheb/Customers.php index 363f844e..5dbfa941 100644 --- a/api/controllers/wxapp/licheb/Customers.php +++ b/api/controllers/wxapp/licheb/Customers.php @@ -1254,9 +1254,9 @@ class Customers extends Wxapp } else { if ($tab_id) { $where['b.status'] = $tab_id; + $where['b.t_day'] = $t_day; } else { $where['b.status<>'] = 2; - $where['b.t_day'] = $t_day; } } $group_id == 1 && $where['a.admin_id'] = $this->myuid;