update
This commit is contained in:
parent
1b4bbbfafb
commit
eff40225f5
@ -700,7 +700,7 @@
|
||||
}else{
|
||||
$where[] = ['check_status','=',2];
|
||||
}
|
||||
$lists = Db::name('oa_expense')->field('id,code,income_month,expense_time,admin_id,check_admin_ids,check_status,pay_admin_id,pay_time,create_time,detail')->where('admin_id',$this->adminId)->where($where)
|
||||
$lists = Db::name('oa_expense')->field('id,code,income_month,expense_time,admin_id,check_admin_ids,check_status,pay_admin_id,pay_time,create_time,detail')->where($where)
|
||||
->page($page_no, $page_size)->order('id desc')->select()->each(function($data){
|
||||
$admin = Admin::field('name,dept_id')->where('id',$data['admin_id'])->findOrEmpty();
|
||||
$dept = Dept::where('id',$admin['dept_id'])->value('name');
|
||||
|
@ -688,7 +688,7 @@
|
||||
}else{
|
||||
$where[] = ['check_status','in','2,5,10'];
|
||||
}
|
||||
$lists = Db::name('oa_invoice')->field('id,type,invoice_title,invoice_subject,amount,invoice_type,check_status,admin_id,create_time,check_admin_ids,open_admin_id,open_time,code,delivery')->where('admin_id',$this->adminId)->where($where)
|
||||
$lists = Db::name('oa_invoice')->field('id,type,invoice_title,invoice_subject,amount,invoice_type,check_status,admin_id,create_time,check_admin_ids,open_admin_id,open_time,code,delivery')->where($where)
|
||||
->page($page_no, $page_size)->order('id desc')->select()->each(function($data){
|
||||
$admin = Admin::field('name,dept_id')->where('id',$data['admin_id'])->findOrEmpty();
|
||||
$dept = Dept::where('id',$admin['dept_id'])->value('name');
|
||||
|
Loading…
x
Reference in New Issue
Block a user