|
@@ -258,7 +258,7 @@ class UserLeave extends Base
|
|
|
->alias('p')
|
|
|
->where(['p.approve_user'=>$this->user_id])
|
|
|
->where('p.status','>','0')
|
|
|
- ->leftJoin('LeaveInfo i','p.level_id = i.id')
|
|
|
+ ->leftJoin('LeaveInfo i','p.leave_id = i.id')
|
|
|
->limit($this->off_set,$this->page_num)
|
|
|
->select()->toArray();
|
|
|
$this->success('ok',['list'=>$list]);
|