songxingwei 3 years ago
parent
commit
4198db92a3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/store/controller/Order.php

+ 1 - 0
application/store/controller/Order.php

@@ -83,6 +83,7 @@ class Order extends Controller
             $query->whereBetweenTime('a.pay_time',$start_time,$end_time);
         }
         $query->alias('a')
+            ->where('a.is_del',1)
             ->join('q_user b','a.user_id=b.id')
             ->join('q_user c','a.designer_id=c.id')
             ->field('a.*,b.nickname,b.phone,c.name as designer_name,c.phone as designer_phone')