参考文献优化
This commit is contained in:
@@ -2482,11 +2482,11 @@ class ReferenceRelevanceCheckService
|
|||||||
->where('p_article_id', $pArticleId)
|
->where('p_article_id', $pArticleId)
|
||||||
->delete();
|
->delete();
|
||||||
|
|
||||||
if ($articleId > 0 && $this->hasAmRefCheckStatusColumn()) {
|
if ($articleId > 0) {
|
||||||
Db::name('article_main')
|
Db::name('article_main')
|
||||||
->where('article_id', $articleId)
|
->where('article_id', $articleId)
|
||||||
->whereIn('state', [0, 2])
|
->whereIn('state', [0, 2])
|
||||||
->update(['ref_check_status' => self::AM_STATUS_NONE]);
|
->update(['ref_check_status' => self::ARTICLE_PROGRESS_NONE]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return intval($deleted);
|
return intval($deleted);
|
||||||
|
|||||||
Reference in New Issue
Block a user