mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
导出单选处理
This commit is contained in:
parent
ae339eb593
commit
2aee609cca
@ -95,6 +95,7 @@ class ExportExcel extends AuthController
|
||||
['pay_type', ''],
|
||||
['order', ''],
|
||||
['field_key', ''],
|
||||
['ids', []],
|
||||
]);
|
||||
$where['is_system_del'] = 0;
|
||||
$where['pid'] = 0;
|
||||
|
||||
@ -589,4 +589,13 @@ class StoreOrder extends BaseModel
|
||||
{
|
||||
if ($value !== '') $query->where('agent_id', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $query
|
||||
* @param $value
|
||||
*/
|
||||
public function searchIdsAttr($query, $value)
|
||||
{
|
||||
if ($value !== '') $query->whereIn('id', $value);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user