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

去除保险时间字段

@@ -130,7 +130,7 @@ class MeGuaranteeController extends WeChatBaseController @@ -130,7 +130,7 @@ class MeGuaranteeController extends WeChatBaseController
130 $where['o.order_expire_time2'] = ['>',$time]; 130 $where['o.order_expire_time2'] = ['>',$time];
131 $where['o.order_about_time'] = array(array('<',$time),array('>',$time-30*24*60*60));//array(array('gt',1),array('lt',10)) 131 $where['o.order_about_time'] = array(array('<',$time),array('>',$time-30*24*60*60));//array(array('gt',1),array('lt',10))
132 // $where['o.order_about_time'] = ['>',$time]; 132 // $where['o.order_about_time'] = ['>',$time];
133 - $whereor = "o.user_id = $user_id and o.status = 1 and c.insurer = "."'".$insurer."'"." and o.order_about_time < $time and o.order_about_time > ".($time-30*24*60*60)."and o.order_expire_time2 > ".$time; 133 + $whereor = "o.user_id = $user_id and o.status = 1 and c.insurer = "."'".$insurer."'"." and o.order_about_time < $time and o.order_about_time > ".($time-30*24*60*60)." and o.order_expire_time2 > $time";
134 }else if($param['status'] == 3){ 134 }else if($param['status'] == 3){
135 // $where['o.status'] = ['eq',2]; 135 // $where['o.status'] = ['eq',2];
136 // $where['c.insurer'] = ['eq',$param['insurer']]; 136 // $where['c.insurer'] = ['eq',$param['insurer']];