...
|
...
|
@@ -145,6 +145,25 @@ class MemberController extends CommentController |
|
|
// 我的订单详情
|
|
|
public function detail(){
|
|
|
$data = $this->request->param();
|
|
|
echo "<pre/>";
|
|
|
print_r($data);
|
|
|
die;
|
|
|
if(empty($data['logId'])){
|
|
|
$where_compare['l.id'] = $data['logId'];
|
|
|
$where_compare['l.status'] = array('neq',9);
|
|
|
$log = Db::name('CompareLog')->alias('l')
|
|
|
->where($where_compare)
|
|
|
->join("Member m",'m.id = l.resume_user_id')
|
|
|
->field('m.name,m.tel,l.order_id,l.status,l.id')
|
|
|
->select()->toArray();
|
|
|
}else{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!empty($data['type'])){
|
|
|
$where_order['o.status'] = $data['type'];
|
|
|
}else{
|
...
|
...
|
@@ -163,12 +182,7 @@ class MemberController extends CommentController |
|
|
|
|
|
if($coo_list){
|
|
|
// 查询分配表
|
|
|
$where_compare['l.status'] = array('neq',9);
|
|
|
$log = Db::name('CompareLog')->alias('l')
|
|
|
->where($where_compare)
|
|
|
->join("Member m",'m.id = l.resume_user_id')
|
|
|
->field('m.name,m.tel,l.order_id,l.status,l.id')
|
|
|
->select()->toArray();
|
|
|
|
|
|
foreach ($coo_list as $k=>$v){
|
|
|
if($log){
|
|
|
$middle_list = $v;
|
...
|
...
|
|