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