正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -124,7 +124,7 @@ class MeGuaranteeController extends WeChatBaseController | @@ -124,7 +124,7 @@ class MeGuaranteeController extends WeChatBaseController | ||
124 | }else if($param['status'] == 2){ | 124 | }else if($param['status'] == 2){ |
125 | $where['o.status'] = ['eq',3]; | 125 | $where['o.status'] = ['eq',3]; |
126 | $where['c.insurer'] = ['eq',$param['insurer']]; | 126 | $where['c.insurer'] = ['eq',$param['insurer']]; |
127 | - $where['o.order_about_time'] = array(array('<',$time),array('>',$time-30*24*60*60));//array(array('gt',1),array('lt',10)) | 127 | + $where['o.order_about_time'] = array(array('<',$time),array('>',$time+30*24*60*60));//array(array('gt',1),array('lt',10)) |
128 | // $where['o.order_about_time'] = ['>',$time]; | 128 | // $where['o.order_about_time'] = ['>',$time]; |
129 | $whereor = "o.status = 1 and c.insurer = "."'".$insurer."'"." and o.order_about_time < $time and o.order_about_time > ".($time-30*24*60*60); | 129 | $whereor = "o.status = 1 and c.insurer = "."'".$insurer."'"." and o.order_about_time < $time and o.order_about_time > ".($time-30*24*60*60); |
130 | }else if($param['status'] == 3){ | 130 | }else if($param['status'] == 3){ |
@@ -51,7 +51,7 @@ class OrderInfoModel extends Model | @@ -51,7 +51,7 @@ class OrderInfoModel extends Model | ||
51 | $time = time(); | 51 | $time = time(); |
52 | $where1['o.delete_time'] = ['eq',0]; | 52 | $where1['o.delete_time'] = ['eq',0]; |
53 | $where1['c.expire_time'] = ['>',time()];//判断保单是否还在缴费期限内 | 53 | $where1['c.expire_time'] = ['>',time()];//判断保单是否还在缴费期限内 |
54 | - //$where1['o.order_expire_time'] = ['>',time()];//筛选出托管中状态 | 54 | + $where1['o.order_expire_time'] = ['>',time()];//筛选出托管中状态 |
55 | //$where1['o.status'] = ['eq',3];//筛选出托管中状态 | 55 | //$where1['o.status'] = ['eq',3];//筛选出托管中状态 |
56 | $field = "c.*,o.order_expire_time,o.status"; | 56 | $field = "c.*,o.order_expire_time,o.status"; |
57 | $data = $this | 57 | $data = $this |
-
请 注册 或 登录 后发表评论