...
|
...
|
@@ -102,11 +102,14 @@ class MemberController extends CommentController |
|
|
$coo_list = Db::name('Order')->alias('o')
|
|
|
->where($where_order)
|
|
|
->join("Hire h",'h.id = o.hire_id')
|
|
|
->join("CompareLog l",'l.order_id = o.id')
|
|
|
->join("Select s",'s.id = h.select_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();
|
|
|
echo "<pre/>";
|
|
|
print_r($coo_list);
|
|
|
die;
|
|
|
if($coo_list){
|
|
|
foreach ($coo_list as $k=>$v){
|
|
|
|
...
|
...
|
|