feat: 移除了GoodsclassLists中的无效查询条件
This commit is contained in:
parent
1549adfed6
commit
4c55881fa6
@ -53,7 +53,6 @@ class GoodsclassLists extends BaseAdminDataLists implements ListsSearchInterface
|
|||||||
->select()->toArray();
|
->select()->toArray();
|
||||||
}else{
|
}else{
|
||||||
$lists = Goodsclass::where($this->searchWhere)
|
$lists = Goodsclass::where($this->searchWhere)
|
||||||
->where('children','<>',null)
|
|
||||||
->field(['id', 'pid', 'name', 'data', 'pic', 'sort'])
|
->field(['id', 'pid', 'name', 'data', 'pic', 'sort'])
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['sort' => 'desc','id' => 'desc'])
|
->order(['sort' => 'desc','id' => 'desc'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user