|
@@ -2674,13 +2674,11 @@ class Goodup extends Base
|
|
|
|
|
|
$skuCodeS = Db::name("good_platform")
|
|
|
->where(['spuCode' => $param['spuCode'], 'is_del' => 0])//exam_status 7审核失败,8已下线
|
|
|
- ->where('exam_status', 'not in', [7, 8])
|
|
|
->column('exam_status,skuCode', 'skuCode');
|
|
|
if (empty($skuCodeS)) throw new \Exception('记录不存在');
|
|
|
|
|
|
Db::name("good_platform")
|
|
|
->where(['spuCode' => $param['spuCode'], 'is_del' => 0])
|
|
|
- ->where('exam_status', 'not in', [7, 8])
|
|
|
->save([
|
|
|
'exam_status' => 8,
|
|
|
'updatetime' => date('Y-m-d H:i:s'),
|