|
@@ -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;
|