参考文献优化

This commit is contained in:
wyn
2026-07-20 16:32:54 +08:00
parent ddb9c9f603
commit 79068a28c1

View File

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