Commit 80685b16156982bd3940c9da49921459d9fe84f2

Authored by teemitop
1 parent 3f1cd36d

去除取消 拒单的订单

@@ -71,7 +71,7 @@ class Index extends Common @@ -71,7 +71,7 @@ class Index extends Common
71 WHERE 71 WHERE
72 r.cdate BETWEEN ".$value['sta']." 72 r.cdate BETWEEN ".$value['sta']."
73 AND ".$value['end']." 73 AND ".$value['end']."
74 - AND t.type_id = 1"), 'type'); 74 + AND t.type_id = 1 AND r.status not in (4,6)"), 'type');
75 } 75 }
76 foreach ($time as $key => $value) { 76 foreach ($time as $key => $value) {
77 $arr['time'][] = $key; //日期 77 $arr['time'][] = $key; //日期