...
|
...
|
@@ -85,7 +85,7 @@ class OrderInfoModel extends Model |
|
|
$where['o.delete_time'] = ['eq',0];
|
|
|
$where1['o.order_expire_time'] = ['>',time()];//筛选出托管中状态
|
|
|
$where1['o.order_about_time'] = ['>',(time()-30*24*60*60)];
|
|
|
// $where['o.status'] = ['eq',3];//筛选出托管中状态
|
|
|
$where1['o.status'] = ['in',[3,1]];
|
|
|
$field = "c.*";
|
|
|
$data = $this
|
|
|
->alias('o_i')
|
...
|
...
|
@@ -93,6 +93,7 @@ class OrderInfoModel extends Model |
|
|
->join('cmf_order o','o.id = o_i.order_id')
|
|
|
->join('cmf_collocation c','c.id = o_i.collocation_id')
|
|
|
->where($where)
|
|
|
->where($where1)
|
|
|
->count();
|
|
|
return $data;
|
|
|
}
|
...
|
...
|
|