|
@@ -2997,7 +2997,7 @@ class Goodup extends Base
|
|
$rs = Db::name('good_platform')
|
|
$rs = Db::name('good_platform')
|
|
->field('id')
|
|
->field('id')
|
|
->where(['spuCode' => $spuCode, 'is_del' => 0])
|
|
->where(['spuCode' => $spuCode, 'is_del' => 0])
|
|
- ->whereNotIn('exam_status', [0, 8])
|
|
|
|
|
|
+ ->whereNotIn('exam_status', [0, 8])//0待提交,8已下线
|
|
->find();
|
|
->find();
|
|
|
|
|
|
if (!empty($rs)) $is_allow_update = 0;
|
|
if (!empty($rs)) $is_allow_update = 0;
|
|
@@ -3005,7 +3005,7 @@ class Goodup extends Base
|
|
|
|
|
|
$rs = PlatformYouzan::field('id')
|
|
$rs = PlatformYouzan::field('id')
|
|
->where(['spuCode' => $spuCode, 'is_del' => PlatformYouzan::$del_normal])
|
|
->where(['spuCode' => $spuCode, 'is_del' => PlatformYouzan::$del_normal])
|
|
- ->whereNotIn('exam_status', [PlatformYouzan::$exam_status_8,PlatformYouzan::$exam_status_2])
|
|
|
|
|
|
+ ->whereNotIn('exam_status', [PlatformYouzan::$exam_status_8,PlatformYouzan::$exam_status_2])//8已下线,2审核驳回
|
|
->findOrEmpty()
|
|
->findOrEmpty()
|
|
->isEmpty();
|
|
->isEmpty();
|
|
if (!$rs) $is_allow_update = 0;
|
|
if (!$rs) $is_allow_update = 0;
|