...
|
...
|
@@ -40,6 +40,7 @@ class OrderInfoModel extends Model |
|
|
->join('cmf_insurance_company i_c','c.insurance_company_id = i_c.id')
|
|
|
->where($where1)
|
|
|
->whereOr($whereor)
|
|
|
->order('c.create_time','desc')
|
|
|
// ->fetchSql()
|
|
|
->select()->toArray();
|
|
|
// echo $data;
|
...
|
...
|
@@ -60,6 +61,7 @@ class OrderInfoModel extends Model |
|
|
->join('cmf_collocation c','c.id = o_i.collocation_id')
|
|
|
->where($where1)
|
|
|
->whereOr($whereor)
|
|
|
->order('c.create_time','desc')
|
|
|
// ->fetchSql()
|
|
|
->select()->toArray();
|
|
|
// echo $data;
|
...
|
...
|
@@ -136,6 +138,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)
|
|
|
->order('c.create_time','desc')
|
|
|
->select()->toArray();
|
|
|
//获取附加险的信息
|
|
|
foreach($data as $key => $vo){
|
...
|
...
|
|