licheb_428_4

This commit is contained in:
dengbw
2022-04-28 11:50:45 +08:00
parent 7e4a33ffd1
commit a011da60a7
+1 -1
View File
@@ -613,7 +613,7 @@ class Customers extends Wxapp
}
//查找订单未支付
if ($status == 0 || $status == 1) {
$orders_count = $this->mdOrders->count(['order_time' => '0000-00-00 00:00:00', 'customer_id' => $val['id']]);
$orders_count = $this->mdOrders->count(['status' => 0, 'order_time' => '0000-00-00 00:00:00', 'customer_id' => $val['id']]);
$orders_count && $orders_pay = '订单未支付';
}
$lists[] = [