Browse Source

售后优化活动库存品

wufeng 2 years ago
parent
commit
1732da6b6d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/admin/controller/After.php

+ 1 - 0
app/admin/controller/After.php

@@ -1251,6 +1251,7 @@ class After extends Base
             ->field('g.*,gp.skuCode')
             ->join('good_platform gp', 'gp.spuCode=g.spuCode AND gp.exam_status=6')
             ->where('g.spuCode', $spuCode)
+            ->where('gp.skuCode', $old_sale['skuCode'])
             ->find();
 
         if (empty($goodinfo)) return error_show(1005, '查不到这个商品,或该商品已下线无法售后');