update
This commit is contained in:
parent
9ccbddb30c
commit
3ddd71b889
@ -682,7 +682,7 @@
|
|||||||
}else{
|
}else{
|
||||||
$where[] = ['check_status','in','2,5,10'];
|
$where[] = ['check_status','in','2,5,10'];
|
||||||
}
|
}
|
||||||
$where[] = ['is_cash' => 0];
|
$where[] = ['is_cash','=', 0];
|
||||||
$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)
|
$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){
|
->page($page_no, $page_size)->order('id desc')->select()->each(function($data){
|
||||||
$admin = Admin::field('name,dept_id')->where('id',$data['admin_id'])->findOrEmpty();
|
$admin = Admin::field('name,dept_id')->where('id',$data['admin_id'])->findOrEmpty();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user