This commit is contained in:
wangjinlei
2024-07-17 17:02:49 +08:00
parent 2632d3a22c
commit c57077e35f
6 changed files with 49 additions and 6 deletions

View File

@@ -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);
// 发送邮件