1
This commit is contained in:
@@ -299,13 +299,20 @@ class Journal extends Controller
|
||||
$yz_year = [date("Y")-1,date("Y")-2];
|
||||
$stages = $this->journal_stage_obj->where("journal_id",$journal['journal_id'])->whereIn("stage_year",$yz_year)->column("journal_stage_id");
|
||||
|
||||
$yz_year_list = $this->article_obj->whereIn("journal_stage_id",$stages)->where("type = 'Article' or type = 'Review' or type = 'Mini Review'")->where("state",0)->select();
|
||||
$yz_year_list = $this->article_obj
|
||||
->whereIn("journal_stage_id",$stages)
|
||||
->where("type = 'Article' or type = 'Review' or type = 'Mini Review' or type = 'Letter'")
|
||||
->where("state",0)->select();
|
||||
$yz_year_list_all = $this->article_obj->whereIn("journal_stage_id",$stages)->where("state",0)->select();
|
||||
$article_ids = [];
|
||||
foreach ($yz_year_list_all as $v){
|
||||
$article_ids[] = $v['article_id'];
|
||||
}
|
||||
$cite_yz_count = $this->article_cite_obj->whereIn("article_id",$article_ids)->whereLike('vol',"%".date("Y")."%")->where("is_wos",1)->where("state",1)->count();
|
||||
$cite_yz_count = $this->article_cite_obj
|
||||
->whereIn("article_id",$article_ids)
|
||||
->whereLike('vol',"%".date("Y")."%")
|
||||
->where("is_wos",1)
|
||||
->where("state",1)->count();
|
||||
|
||||
$flag['yc_article_num'] = count($yz_year_list);
|
||||
$flag['yc_cite_num'] = $cite_yz_count;
|
||||
|
||||
Reference in New Issue
Block a user