feat(admin): 优化预售订单搜索功能
- 将 order_id 的搜索方式从精确匹配 (=) 改为模糊匹配 (%like) - 保留其他搜索条件不变
This commit is contained in:
parent
9267218da0
commit
a93649615e
@ -30,7 +30,8 @@ class BeforehandOrderLists extends BaseAdminDataLists implements ListsSearchInte
|
|||||||
public function setSearch(): array
|
public function setSearch(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'=' => ['store_id', 'order_id', 'paid','status','order_type','order_sn'],
|
'=' => ['store_id','paid','status','order_type','order_sn'],
|
||||||
|
'%like'=>['order_id'],
|
||||||
'between_time' => 'create_time'
|
'between_time' => 'create_time'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user