diff --git a/application/common/ReferenceRelevanceCheckService.php b/application/common/ReferenceRelevanceCheckService.php index 02bae704..b3eb1abe 100644 --- a/application/common/ReferenceRelevanceCheckService.php +++ b/application/common/ReferenceRelevanceCheckService.php @@ -2482,11 +2482,11 @@ class ReferenceRelevanceCheckService ->where('p_article_id', $pArticleId) ->delete(); - if ($articleId > 0 && $this->hasAmRefCheckStatusColumn()) { + if ($articleId > 0) { Db::name('article_main') ->where('article_id', $articleId) ->whereIn('state', [0, 2]) - ->update(['ref_check_status' => self::AM_STATUS_NONE]); + ->update(['ref_check_status' => self::ARTICLE_PROGRESS_NONE]); } return intval($deleted);