This commit is contained in:
weiz 2024-05-31 10:47:07 +08:00
parent 9ccbddb30c
commit 3ddd71b889

View File

@ -682,7 +682,7 @@
}else{
$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)
->page($page_no, $page_size)->order('id desc')->select()->each(function($data){
$admin = Admin::field('name,dept_id')->where('id',$data['admin_id'])->findOrEmpty();