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