1
This commit is contained in:
@@ -827,6 +827,11 @@ class Article extends Controller {
|
||||
$user_info = $this->user_obj->where(['user_id' => $article_info['user_id']])->find();
|
||||
$user_rev_info = $this->user_reviewer_info_obj->where("reviewer_id",$user_info['user_id'])->find();
|
||||
|
||||
if($article_info['state']==5||$article_info['state']==3){
|
||||
return jsonError("Status cannot be changed");
|
||||
}
|
||||
|
||||
|
||||
// 发送邮件内容
|
||||
$sendUser=[
|
||||
'title'=> $journal_info['title'], // 邮件标题
|
||||
@@ -883,11 +888,6 @@ class Article extends Controller {
|
||||
$tt1 .= 'Please check the new transfer manuscript in the submission system.';
|
||||
sendEmail($trans_editor_info['email'],$journal_info['title'], $journal_info['title'], $tt1, $journal_info['email'], $journal_info['epassword']);
|
||||
|
||||
// $sendUser['user_id'] = $trans_editor_info['user_id'];
|
||||
// $sendUser['email'] = $trans_editor_info['email'];
|
||||
// $sendUser['content'] = 'Dear editor,Please check the new transfer manuscript in the submission system.';
|
||||
// Queue::push('app\api\job\domail@fire',$sendUser,'domail');
|
||||
|
||||
//增加usermsg
|
||||
add_usermsg($tran_journal['editor_id'], 'New transfer manuscript ', '/articleDetailEditor?id=' . $article_info['article_id']);
|
||||
|
||||
@@ -897,7 +897,7 @@ class Article extends Controller {
|
||||
if($data['state']==5&&$article_info['type']!="N"&&$article_info['type']!="T"&&$article_info['type']!="LTE"&&$article_info['journal_id']!=21){
|
||||
//定义符合条件的数量
|
||||
$rev_real_num = 0;
|
||||
//获取通过的审稿意见数
|
||||
//获取通过的审稿意见数,必须大于两个
|
||||
$rev_list = $this->article_reviewer_obj
|
||||
->field('t_article_reviewer_question.*')
|
||||
->join("t_article_reviewer_question",'t_article_reviewer_question.art_rev_id = t_article_reviewer.art_rev_id','left')
|
||||
@@ -1949,6 +1949,7 @@ class Article extends Controller {
|
||||
->where('t_user.user_id','not in',$noids)
|
||||
->where('t_user.state',0)
|
||||
->select();
|
||||
|
||||
|
||||
// if ($noids != null) {
|
||||
// $where['t_user.user_id'] = [['in', $revids], ['not in', $noids]];
|
||||
|
||||
Reference in New Issue
Block a user