|
|
@@ -39,7 +39,7 @@ class SupplyDemandCateLists extends BaseAdminDataLists implements ListsSearchInt
|
|
|
{
|
|
|
return [
|
|
|
'%like%' => ['name'],
|
|
|
- '=' => ['type','pid']
|
|
|
+ '=' => ['pid']
|
|
|
];
|
|
|
}
|
|
|
/**
|
|
|
@@ -90,10 +90,10 @@ class SupplyDemandCateLists extends BaseAdminDataLists implements ListsSearchInt
|
|
|
|
|
|
$supplyDemandLists = SupplyDemandCate::where($this->searchWhere)
|
|
|
->where($this->queryWhere())
|
|
|
- ->field('id,name,pid,type,status,sort,create_time')
|
|
|
+ ->field('id,name,pid,status,sort,create_time')
|
|
|
->limit($this->limitOffset, $this->limitLength)
|
|
|
->order($this->sortOrder)
|
|
|
- ->append(['status_desc','type_desc'])
|
|
|
+ ->append(['status_desc'])
|
|
|
->select()
|
|
|
->toArray();
|
|
|
$treeList = linear_to_tree($supplyDemandLists, 'children');
|