[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `gonggong_portal_post` `post` INNER JOIN `gonggong_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` IN ('7','') ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < '1639120927' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.001177s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `gonggong_portal_post` `post` INNER JOIN `gonggong_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` IN ('7','') ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < '1639120927' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 5 [ RunTime:0.001915s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `gonggong_portal_post` `post` INNER JOIN `gonggong_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` IN ('8','') ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < '1639120927' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.000799s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `gonggong_portal_post` `post` INNER JOIN `gonggong_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` IN ('8','') ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < '1639120927' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 5 [ RunTime:0.000805s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `gonggong_portal_post` `post` INNER JOIN `gonggong_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` IN ('9','') ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < '1639120927' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.000827s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `gonggong_portal_post` `post` INNER JOIN `gonggong_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` IN ('9','') ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < '1639120927' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 5 [ RunTime:0.000835s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `gonggong_portal_post` `post` INNER JOIN `gonggong_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND `post`.`recommended` = '1' AND ( `category_post`.`category_id` IN ('13','') ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < '1639120927' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 9 [ RunTime:0.004727s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `gonggong_portal_post` `post` INNER JOIN `gonggong_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` IN ('5','') ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < '1639120927' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 5 [ RunTime:0.000829s ]