|
@@ -119,10 +119,10 @@ class LeaveInfo extends Controller
|
|
|
public function approve()
|
|
|
{
|
|
|
$id = input('id');
|
|
|
- $list = LeaveApprove::field('a.*,u.name')
|
|
|
- ->alias('a')
|
|
|
- ->where('a.leave_id',$id)
|
|
|
- ->leftJoin('store_member u','u,id = a.approve_user')
|
|
|
+ $list = LeaveApprove::field('b.*,u.name')
|
|
|
+ ->alias('b')
|
|
|
+ ->where('b.leave_id',$id)
|
|
|
+ ->leftJoin('store_member u','u,id = b.approve_user')
|
|
|
->select()->toArray();
|
|
|
$this->assign('list',$list);
|
|
|
$this->fetch();
|