|
@@ -62,8 +62,6 @@ class LoadController extends HomeBaseController |
|
@@ -62,8 +62,6 @@ class LoadController extends HomeBaseController |
62
|
$where['o.status'] = ['eq',2];
|
62
|
$where['o.status'] = ['eq',2];
|
63
|
$whereor = "o.status = 2 or (o.status = 1 and o.order_expire_time < $time and o.order_about_time < ".($time-24*30*60*60).") or (o.status = 3 and o.order_expire_time < $time) or (o.status = 3 and o.order_about_time < ".($time-24*30*60*60).")";
|
63
|
$whereor = "o.status = 2 or (o.status = 1 and o.order_expire_time < $time and o.order_about_time < ".($time-24*30*60*60).") or (o.status = 3 and o.order_expire_time < $time) or (o.status = 3 and o.order_about_time < ".($time-24*30*60*60).")";
|
64
|
$data = $orderInfoModel->selectData1($where,$whereor);
|
64
|
$data = $orderInfoModel->selectData1($where,$whereor);
|
65
|
- dump($data);
|
|
|
66
|
- exit();
|
|
|
67
|
foreach($data as $key1 => $vo){
|
65
|
foreach($data as $key1 => $vo){
|
68
|
//判断是否已经发送
|
66
|
//判断是否已经发送
|
69
|
$send_vice = Db::name('send_vice')->where(array('order_id'=>$vo['o_id'],'collocation_id'=>$vo['id'],'time'=>$vo['order_about_time'],'type'=>2))->find();
|
67
|
$send_vice = Db::name('send_vice')->where(array('order_id'=>$vo['o_id'],'collocation_id'=>$vo['id'],'time'=>$vo['order_about_time'],'type'=>2))->find();
|