20201112
This commit is contained in:
@@ -68,7 +68,7 @@ class Article extends Controller{
|
||||
|
||||
//组合cite信息
|
||||
$no = $stage_info['stage_no']==0?':':'('.$stage_info['stage_no'].'):';
|
||||
$cite = $article_info['abbr'].' '.$article_info['title'].' '.$journal_info['jabbr'].' '.$stage_info['stage_year'].';'.$stage_info['stage_vol'].$no.$article_info['npp'].'. doi:'.$article_info['doi'];
|
||||
$cite = $article_info['abbr'].' '.$article_info['title'].' '.$journal_info['jabbr'].'. '.$stage_info['stage_year'].';'.$stage_info['stage_vol'].$no.$article_info['npp'].'. doi:'.$article_info['doi'];
|
||||
|
||||
//修改keywords
|
||||
$article_info['keywords'] = str_replace(',',' ', $article_info['keywords']);
|
||||
@@ -91,7 +91,7 @@ class Article extends Controller{
|
||||
$authors[$key]['ors'] = '';
|
||||
foreach ($atto as $vv){
|
||||
if($vv['article_author_id']==$val['article_author_id']){
|
||||
$authors[$key]['ors'] = $authors[$key]['ors']==''?''.$cache[$vv['article_organ_id']]:$authors[$key]['ors'].','.$cache[$vv['article_organ_id']];
|
||||
$authors[$key]['ors'] = $authors[$key]['ors']==''?''.$cache[$vv['article_organ_id']]:$authors[$key]['ors'].', '.$cache[$vv['article_organ_id']];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -155,7 +155,7 @@ class Article extends Controller{
|
||||
public function getStageArticles(){
|
||||
$data = $this->request->post();
|
||||
$stage_info = $this->journal_stage_obj->where('journal_stage_id',$data['stage_id'])->find();
|
||||
$list = $this->article_obj->where('journal_stage_id',$data['stage_id'])->where('state',0)->select();
|
||||
$list = $this->article_obj->field('j_article.*,j_journal_stage.*')->join('j_journal_stage','j_article.journal_stage_id = j_journal_stage.journal_stage_id','LEFT')->where('j_article.journal_stage_id',$data['stage_id'])->where('_article.state',0)->select();
|
||||
// $topic_info = $this->journal_topic_obj->where('journal_topic_id',$data['topic_id'])->find();
|
||||
// $list = $this->article_to_topic_obj->field('j_article.*,j_journal_stage.*')
|
||||
// ->join(array(['j_article','j_article_to_topic.article_id = j_article.article_id','LEFT'],['j_journal_stage','j_article.journal_stage_id = j_journal_stage.journal_stage_id','LEFT']))
|
||||
|
||||
Reference in New Issue
Block a user