This commit is contained in:
wangjinlei
2024-08-12 15:51:30 +08:00
parent 1f7220f36e
commit 0a6126543b
6 changed files with 73 additions and 53 deletions

View File

@@ -355,9 +355,6 @@ class Super extends Controller {
$journal_info = $this->journal_obj->where('journal_id',$journalId)->find();
$zc_num = $this->article_obj->where('accept_sn','like',$journal_info['abbr'].'%')->where('journal_id','<>',$journalId)->where('ctime','>',$start_time)->where('ctime','<',$end_time)->count();
// echo $this->article_obj->getLastSql();die;
$zr_num = $this->article_obj->where('accept_sn','not like',$journal_info['abbr'].'%')->where('journal_id',$journalId)->where('ctime','>',$start_time)->where('ctime','<',$end_time)->count();
//获取全部总数
$mq_num = $this->article_obj
@@ -365,7 +362,6 @@ class Super extends Controller {
->where('ctime','>',$start_time)
->where('ctime','<',$end_time)
->count();
echo $this->article_obj->getLastSql();die;
$res['mq'] = $mq_num;//文章总数
$res['zc'] = $zc_num;//转出文章数
$res['zr'] = $zr_num;//转入文章数