作者 邓超

x

... ... @@ -263,7 +263,6 @@ class MailListV2 extends Base {
$sql = "select count(*) from `lists` where ";
$where = ['email_id'=>$emails];
$where['deleted'] = 0; //未删状态
// 屏蔽哪些邮件
// $where['from.notin'] = $this->from_not_in();
... ... @@ -339,6 +338,7 @@ class MailListV2 extends Base {
if(in_array('flagged',$show_count_filed)) {
$where['flagged'] = 1;
unset($where['folder_id']);
$where = ['email_id'=>$emails];
$flaggedCount = db()->cache($this->cache)->count($sql . dbWhere($where));
}
... ...