dever 3 years ago
parent
commit
8654ab86f0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/mshop/src/Data.php

+ 1 - 0
app/mshop/src/Data.php

@@ -17,6 +17,7 @@ class Data extends Core
 		$where['start'] = Dever::maketime($day . ' 00:00:00');
 		$where['end'] = Dever::maketime($day . ' 23:59:59');
 		$where['shop_id'] = $this->shop_id;
+        $where['status'] = '1,2,3,4';
 
 		$this->data['num_order'] = round(Dever::db('shop/sell_order')->getOrderNum($where), 2);
 		$cash = Dever::db('shop/sell_order')->getCashNum($where);