|
@@ -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"])
|