@@ -46,6 +46,7 @@ class FaultCodeLists extends BaseAdminDataLists implements ListsSearchInterface
public function queryWhere()
{
+ $where = [];
if (isset($this->params['type_id']) && $this->params['type_id'] !== '') {
$pid = FaultType::where('id', $this->params['type_id'])->value('pid');
if ($pid == 0) {