...
|
...
|
@@ -215,16 +215,16 @@ class MailList extends Base { |
|
|
$where['fob_hot_mail|folder'] = 's';
|
|
|
$sCount = db()->count($sql.dbWhere($where)." and `lists_id` > 0");
|
|
|
|
|
|
unset($where['folder']);
|
|
|
unset($where['fob_hot_mail|folder']);
|
|
|
|
|
|
$sql = $sql." ISNULL(`lists_id`) and ";
|
|
|
$where['lists|folder_id'] = $this->getFolderId('发件箱');
|
|
|
$faCount = db()->count($sql.dbWhere($where));
|
|
|
// 垃圾箱
|
|
|
$where['folder_id'] = $this->getFolderId('垃圾箱');
|
|
|
$where['lists|folder_id'] = $this->getFolderId('垃圾箱');
|
|
|
$lajiCount = db()->count($sql.dbWhere($where));
|
|
|
// 收件箱
|
|
|
$where['folder_id'] = $this->getFolderId('收件箱');
|
|
|
$where['lists|folder_id'] = $this->getFolderId('收件箱');
|
|
|
$shouCount = db()->count($sql.dbWhere($where));
|
|
|
// 未读
|
|
|
$where['seen'] = 0;
|
...
|
...
|
|