正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -61,7 +61,7 @@ class LoadController extends HomeBaseController | @@ -61,7 +61,7 @@ class LoadController extends HomeBaseController | ||
61 | //$data['status'] eq 2 || $data['order_expire_time'] lt time() || ($data['order_about_time']+24*30*60*60) lt time() | 61 | //$data['status'] eq 2 || $data['order_expire_time'] lt time() || ($data['order_about_time']+24*30*60*60) lt time() |
62 | // $where['o.status'] = ['eq',2]; | 62 | // $where['o.status'] = ['eq',2]; |
63 | $where = []; | 63 | $where = []; |
64 | - $whereor = "(o.status = 2 and o.delete_time = 0) or (o.order_expire_time < $time ) or (o.status = 1 and o.order_about_time < ".($time-24*30*60*60)." and o.delete_time = 0) or (o.status = 3 and o.order_about_time < ".($time-24*30*60*60)." and o.delete_time = 0)"; | 64 | + $whereor = "(o.status = 2 and o.delete_time = 0) or (o.status = 1 and o.order_about_time < ".($time-24*30*60*60)." and o.delete_time = 0) or (o.status = 3 and o.order_about_time < ".($time-24*30*60*60); |
65 | $data = $orderInfoModel->selectData1($where,$whereor); | 65 | $data = $orderInfoModel->selectData1($where,$whereor); |
66 | dump($data); | 66 | dump($data); |
67 | foreach($data as $key1 => $vo){ | 67 | foreach($data as $key1 => $vo){ |
-
请 注册 或 登录 后发表评论