1
This commit is contained in:
@@ -1832,6 +1832,12 @@ class Article extends Base
|
||||
$editor_info = $this->user_obj->where('user_id', $journal_info['editor_id'])->find();
|
||||
$reviewer_info = $this->user_obj->where('user_id', $data['uid'])->find();
|
||||
$reviewer_move = $this->user_reviewer_info_obj->where("reviewer_info_id", $reviewer_info['user_id'])->find();
|
||||
//排除自己审自己
|
||||
$check_self = $this->article_author_obj->where("email",$reviewer_info['email'])->where("article_id",$article_info['article_id'])->where("state",0)->find();
|
||||
if($check_self){
|
||||
return jsonError("Notice:Selected reviewers may be the authors for this paper!");
|
||||
}
|
||||
|
||||
// $journal_info = $this->journal_obj->where('journal_id',$article_info['journal_id'])->find();
|
||||
|
||||
$check = $this->article_reviewer_obj->where('reviewer_id', $data['uid'])->where('article_id', $data['articleId'])->find();
|
||||
|
||||
Reference in New Issue
Block a user