终审相关调整
This commit is contained in:
@@ -536,6 +536,21 @@ class Article extends Base
|
||||
$article_res['majors'] = $majors;
|
||||
//查询文章作者信息
|
||||
$author_res = $this->article_author_obj->where('article_id', $data['articleId'])->where('state', 0)->select();
|
||||
//查询作者scopus chengxiaoling 20260924 start
|
||||
if(!empty($author_res)){
|
||||
$aEmail = array_unique(array_column($author_res, 'email'));
|
||||
$aWhere = ['email' => ['in',$aEmail]];
|
||||
$aUserData = Db::name('user')->field('user_id,email,scopus_index,scopus_website,google_index,wos_index')->where($aWhere)->select();
|
||||
$aUserData = empty($aUserData) ? [] : array_column($aUserData, null,'email');
|
||||
foreach ($author_res as $key => $value) {
|
||||
$aUserInfo = empty($aUserData[$value['email']]) ? [] : $aUserData[$value['email']];
|
||||
$author_res[$key]['scopus_index'] = isset($aUserInfo['scopus_index']) ? $aUserInfo['scopus_index'] : '';
|
||||
$author_res[$key]['scopus_website'] = empty($aUserInfo['scopus_website']) ? '' : $aUserInfo['scopus_website'];
|
||||
$author_res[$key]['google_index'] = isset($aUserInfo['google_index']) ? $aUserInfo['google_index'] : '';
|
||||
$author_res[$key]['wos_index'] = isset($aUserInfo['wos_index']) ? $aUserInfo['wos_index'] : '';
|
||||
}
|
||||
}
|
||||
//查询作者scopus chengxiaoling 20260924 end
|
||||
//查询转投信息
|
||||
$transfer_res = $this->article_transfer_obj->where('article_id', $data['articleId'])->select();
|
||||
//查询建议转投详情
|
||||
|
||||
Reference in New Issue
Block a user