wugg 1 jaar geleden
bovenliggende
commit
6dbc91f5cd
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      app/admin/controller/Goodup.php

+ 2 - 2
app/admin/controller/Goodup.php

@@ -3357,7 +3357,7 @@ class Goodup extends Base
         $rs = Db::name('good_platform')
             ->field('id')
             ->where(['spuCode' => $spuCode, 'is_del' => 0])
-            ->whereNotIn('exam_status', [0, 5])//0待提交,8已下线
+            ->whereNotIn('exam_status', [[0,1,5])//0待提交,8已下线
             ->find();
 
         if (!empty($rs)) $is_allow_update = 0;
@@ -3381,7 +3381,7 @@ class Goodup extends Base
         $rs = Db::name('good_platform')
             ->field('id')
             ->where(['spuCode' => $spuCode, 'is_del' => 0])
-            ->whereNotIn('exam_status', [0,5])
+            ->whereNotIn('exam_status', [0,1,5])
             ->find();
 
         if (!empty($rs)) $is_allow_update = 0;