作者 王晓刚
1 个管道 的构建 通过 耗费 2 秒

"请选择"问题

... ... @@ -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){
... ...