wugg пре 8 месеци
родитељ
комит
40f25a9485
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/admin/controller/Activity.php

+ 1 - 1
app/admin/controller/Activity.php

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