作者 郭鑫
1 个管道 的构建 通过 耗费 1 秒

后台修改

... ... @@ -102,13 +102,16 @@ class MemberController extends CommentController
$coo_list = Db::name('Order')->alias('o')
->where($where_order)
->join("Hire h",'h.id = o.hire_id')
->join("Select s",'s.id = h.select_id')
->join("CompareLog l",'l.order_id = o.id')
->join("Member m",'m.id = h.user_id')
->field('o.id,o.order_sn,o.status as orderStatus,o.create_time as cre,o.update_time as up , h.id as hire_id,h.* , s.name as select_name ,m.name as member_name ')
->order('o.create_time desc')
->select()->toArray();
if($coo_list){
foreach ($coo_list as $k=>$v){
$coo_list[$k]['start_time'] = date('Y.m.d',strtotime($v['start_time']));
$coo_list[$k]['end_time'] = date('Y.m.d',strtotime($v['end_time']));
}
... ...