正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -86,7 +86,7 @@ class HotMail { | @@ -86,7 +86,7 @@ class HotMail { | ||
86 | private function findList(Data $data, int $p = 1){ | 86 | private function findList(Data $data, int $p = 1){ |
87 | $lists = db()->all( | 87 | $lists = db()->all( |
88 | sprintf( | 88 | sprintf( |
89 | - "select `id`,`folder_id`,`email_id`,`from` from `lists` where `id` > %d and `email_id` = %d and `folder_id` = %d and (select count(*) from `fob_hot_mail` where `lists`.`id` = `fob_hot_mail`.`lists_id`) > 0 limit 1000 offset ".(($p-1)*1000), | 89 | + "select `id`,`folder_id`,`email_id`,`from` from `lists` where `id` > %d and `email_id` = %d and `folder_id` = %d and (select count(*) from `fob_hot_mail` where `lists`.`id` = `fob_hot_mail`.`lists_id`) = 0 limit 1000 offset ".(($p-1)*1000), |
90 | $data->last_id, | 90 | $data->last_id, |
91 | $data->email_id, | 91 | $data->email_id, |
92 | $data->folder_id | 92 | $data->folder_id |
-
请 注册 或 登录 后发表评论