作者 王智

daima

@@ -55,7 +55,7 @@ class Renwu extends Backend @@ -55,7 +55,7 @@ class Renwu extends Backend
55 ->where($where) 55 ->where($where)
56 ->order($sort, $order) 56 ->order($sort, $order)
57 ->join('user u', 'u.id= a.xi_id') 57 ->join('user u', 'u.id= a.xi_id')
58 - ->join('user u', 'u.id= a.zhao_id') 58 + ->join('user b', 'b.id= a.zhao_id')
59 ->count(); 59 ->count();
60 60
61 $list = $this->model 61 $list = $this->model
@@ -64,7 +64,7 @@ class Renwu extends Backend @@ -64,7 +64,7 @@ class Renwu extends Backend
64 ->order($sort, $order) 64 ->order($sort, $order)
65 ->limit($offset, $limit) 65 ->limit($offset, $limit)
66 ->join('user u', 'u.id= a.xi_id') 66 ->join('user u', 'u.id= a.xi_id')
67 - ->join('user u', 'u.id= a.zhao_id') 67 + ->join('user b', 'b.id= a.zhao_id')
68 ->select(); 68 ->select();
69 69
70 foreach ($list as $row) { 70 foreach ($list as $row) {