|
@@ -78,6 +78,7 @@ class Order extends Api
|
|
|
$where[$o.'.company_id'] = $this->auth->company_id;
|
|
|
$where[$o.'.ordertype'] = 3;
|
|
|
$where[$o.'.status'] = ['in',[1,2,3]];
|
|
|
+ $where[$p.'.type'] = 1;
|
|
|
if (!empty($status)) {
|
|
|
if ($status == 1) {
|
|
|
$where[$o.'.hexiao_time'] = 0;
|