Sfoglia il codice sorgente

修改故障报价

dongxiaoqin 1 anno fa
parent
commit
9a8b04c838
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/adminapi/lists/fault_code/FaultCodeLists.php

+ 1 - 0
app/adminapi/lists/fault_code/FaultCodeLists.php

@@ -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) {