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

去除保险时间字段

@@ -54,7 +54,7 @@ class OrderInfoModel extends Model @@ -54,7 +54,7 @@ class OrderInfoModel extends Model
54 // $where1['o.order_expire_time'] = ['>',time()];//筛选出托管中状态 54 // $where1['o.order_expire_time'] = ['>',time()];//筛选出托管中状态
55 // $where1['o.order_about_time'] = ['>',(time()-30*24*60*60)];//筛选出托管中状态 55 // $where1['o.order_about_time'] = ['>',(time()-30*24*60*60)];//筛选出托管中状态
56 //$where1['o.status'] = ['eq',3];//筛选出托管中状态 56 //$where1['o.status'] = ['eq',3];//筛选出托管中状态
57 - $field = "c.*,o.order_expire_time,o.status,o.order_about_time"; 57 + $field = "c.*,o.order_expire_time,o.status,o.order_about_time,o.order_expire_time2";
58 $data = $this 58 $data = $this
59 ->alias('o_i') 59 ->alias('o_i')
60 ->field($field) 60 ->field($field)
@@ -30,7 +30,7 @@ class SubjoinInsuranceModel extends Model @@ -30,7 +30,7 @@ class SubjoinInsuranceModel extends Model
30 //$where['o.status'] = ['eq',3]; 30 //$where['o.status'] = ['eq',3];
31 $data = $this 31 $data = $this
32 ->alias('s_i') 32 ->alias('s_i')
33 - ->field('s_i.*,c.insurer,o.order_expire_time,o.status,o.order_about_time') 33 + ->field('s_i.*,c.insurer,o.order_expire_time,o.status,o.order_about_time,o.order_expire_time2')
34 ->join('cmf_collocation c','c.id = s_i.collocation_id') 34 ->join('cmf_collocation c','c.id = s_i.collocation_id')
35 ->join('cmf_order_info o_i','c.id = o_i.collocation_id') 35 ->join('cmf_order_info o_i','c.id = o_i.collocation_id')
36 ->join('cmf_order o','o_i.order_id = o.id') 36 ->join('cmf_order o','o_i.order_id = o.id')