正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -117,11 +117,11 @@ class MeGuaranteeController extends WeChatBaseController | @@ -117,11 +117,11 @@ class MeGuaranteeController extends WeChatBaseController | ||
117 | // $where['o.order_about_time'] = ['>',$time]; | 117 | // $where['o.order_about_time'] = ['>',$time]; |
118 | // $where['o.order_expire_time2'] = ['>',$time]; | 118 | // $where['o.order_expire_time2'] = ['>',$time]; |
119 | if(!empty($param['application']) && !empty($param['agent_phone'])){ | 119 | if(!empty($param['application']) && !empty($param['agent_phone'])){ |
120 | - $whereor = "o.user_id = $user_id and o.status = 3 and o.order_expire_time2 > ".$time." and c.application = "."'"."$param[application]"."'"." and c.agent_phone = $param[agent_phone] and c.insurer ="."'"."$insurer"."'"; | 120 | + $whereor = "o.status = 3 and o.order_expire_time2 > ".$time." and c.application = "."'"."$param[application]"."'"." and c.agent_phone = $param[agent_phone] and c.insurer ="."'"."$insurer"."'"; |
121 | }else if(!empty($param['application'])){ | 121 | }else if(!empty($param['application'])){ |
122 | - $whereor = "o.user_id = $user_id and o.status = 3 and o.order_expire_time2 > ".$time." and c.application = "."'"."$param[application]"."'"." and c.insurer ="."'"."$insurer"."'"; | 122 | + $whereor = "o.status = 3 and o.order_expire_time2 > ".$time." and c.application = "."'"."$param[application]"."'"." and c.insurer ="."'"."$insurer"."'"; |
123 | }else if(!empty($param['agent_phone'])){ | 123 | }else if(!empty($param['agent_phone'])){ |
124 | - $whereor = "o.user_id = $user_id and o.status = 3 and o.order_expire_time2 > ".$time." and c.agent_phone = $param[agent_phone] and c.insurer ="."'"."$insurer"."'"; | 124 | + $whereor = "o.status = 3 and o.order_expire_time2 > ".$time." and c.agent_phone = $param[agent_phone] and c.insurer ="."'"."$insurer"."'"; |
125 | }else{ | 125 | }else{ |
126 | $whereor = "o.user_id = $user_id and o.status = 3 and o.order_expire_time2 > ".$time." and c.insurer ="."'"."$insurer"."'"; | 126 | $whereor = "o.user_id = $user_id and o.status = 3 and o.order_expire_time2 > ".$time." and c.insurer ="."'"."$insurer"."'"; |
127 | } | 127 | } |
-
请 注册 或 登录 后发表评论