添加发票
This commit is contained in:
@@ -20,10 +20,10 @@ class Invoice extends AdminBase
|
||||
// 构建查询条件
|
||||
$where = [];
|
||||
if (!empty($get['keyword'])) {
|
||||
$where[] = ['i.oid|i.invoice_id', 'like', '%' . $get['keyword'] . '%'];
|
||||
$where[] = ['oid|invoice_id', 'like', '%' . $get['keyword'] . '%'];
|
||||
}
|
||||
if (isset($get['state']) && $get['state'] !== '') {
|
||||
$where[] = ['i.state', '=', intval($get['state'])];
|
||||
$where[] = ['state', '=', intval($get['state'])];
|
||||
}
|
||||
|
||||
// 查询数据(关联订单表获取订单编号)
|
||||
|
||||
Reference in New Issue
Block a user