参考文献优化
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user