wugg 4 months ago
parent
commit
fa69585323
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/admin/controller/Good.php

+ 2 - 1
app/admin/controller/Good.php

@@ -35,7 +35,8 @@ class Good extends Base{
                     }];
                 else $where[]=['spuCode','not in',function ($query) {
                         $query->name('good_platform')->where('exam_status', 3)->field('spuCode');
-                    }];
+                    }
+                ];
         }
         if($params['relaComNo']!="") $where[]=["companyNo|supplierNo","like","%".$params['relaComNo']."%"];
         $list=$this->model->with(["brand","unit","cat","GoodTax"])