1
This commit is contained in:
@@ -72,7 +72,7 @@ class review {
|
||||
$rev_list = $this->reviewer_obj->where('article_id', $data['article_id'])->where('state','<>',4)->select();
|
||||
$journal_info = $this->journal_obj->where('journal_id',$data['journal_id'])->find();
|
||||
$user_info = $this->user_obj->where('user_id',$data['user_id'])->find();
|
||||
$editor_info = $this->user_obj->where('user_id',$data['editor_id'])->find();
|
||||
$editor_info = $this->user_obj->where('user_id',$journal_info['editor_id'])->find();
|
||||
//分析审稿人状况
|
||||
$all = count($rev_list);
|
||||
$s_num = 0; //初始数量
|
||||
@@ -233,7 +233,7 @@ class review {
|
||||
*/
|
||||
public function add_reviewer($article) {
|
||||
$journal_info = $this->journal_obj->where('journal_id', $article['journal_id'])->find();
|
||||
$editor_info = $this->user_obj->where('user_id', $article['editor_id'])->find();
|
||||
$editor_info = $this->user_obj->where('user_id', $journal_info['editor_id'])->find();
|
||||
//根据文章筛选候选人
|
||||
$reviewer = $this->chose_reviewer($article);
|
||||
// 发送邮件
|
||||
|
||||
Reference in New Issue
Block a user