|
@@ -200,7 +200,7 @@ class Activity extends Base
|
|
|
}
|
|
|
$orderCode= isset($this->post['orderCode']) && $this->post['orderCode']!='' ? $this->post['orderCode']:'';
|
|
|
if($orderCode!==''){
|
|
|
- $where[]=['a.spuCode',"=",\app\admin\model\Sale::where('orderCode','=',$orderCode)->value('spuCode','')];
|
|
|
+ $where[]=['a.spuCode',"=",\app\admin\model\Sale::where('orderCode','=',$orderCode)->value('good_code','')];
|
|
|
}
|
|
|
$count = Db::name('good_zixun')
|
|
|
->alias("a")
|