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

后台问卷调查

... ... @@ -63,7 +63,6 @@ class LoadController extends HomeBaseController
$where = [];
$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).")";
$data = $orderInfoModel->selectData1($where,$whereor);
dump($data);
foreach($data as $key1 => $vo){
//判断是否已经发送
$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();
... ...