diff --git a/application/api/controller/Monitor.php b/application/api/controller/Monitor.php index 7dfa9f9..723289f 100644 --- a/application/api/controller/Monitor.php +++ b/application/api/controller/Monitor.php @@ -303,7 +303,7 @@ class Monitor extends Base private function getDN($journal_id,$y){ $start = strtotime(date($y.'-01-01 00:00:00')); - $articles = $this->article_obj->where("journal_id",$journal_id)->where("rtime",">",$start)->where("state",5)->select(); + $articles = $this->article_obj->where("journal_id",$journal_id)->where("type","<>","T")->where("rtime",">",$start)->where("state",5)->select(); $zs = 0; $cs = 0; foreach ($articles as $k => $v){