...
|
...
|
@@ -86,7 +86,7 @@ class HotMail { |
|
|
private function findList(Data $data, int $p = 1){
|
|
|
$lists = db()->all(
|
|
|
sprintf(
|
|
|
"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),
|
|
|
"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),
|
|
|
$data->last_id,
|
|
|
$data->email_id,
|
|
|
$data->folder_id
|
...
|
...
|
|