[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.000000s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) FROM `cmf_portal_post` `post` INNER JOIN `cmf_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`.`create_time` >= 0 AND ( `category_post`.`category_id` = '22' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1725757212 ) GROUP BY `post`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.000000s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_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`.`create_time` >= 0 AND ( `category_post`.`category_id` = '22' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1725757212 ) GROUP BY `post`.`id` ORDER BY `category_post`.`list_order`,`post`.`create_time` DESC LIMIT 100,10 [ RunTime:0.015625s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_post` `a` INNER JOIN `cmf_user` `u` ON `a`.`user_id`=`u`.`id` INNER JOIN `cmf_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` WHERE `a`.`create_time` >= 0 AND `a`.`delete_time` = 0 AND ( `b`.`category_id` IN ('41','42','43') AND `a`.`post_type` = 1 ) LIMIT 1 [ RunTime:0.015625s ]
[ SQL ] SELECT `a`.*,b.id AS post_category_id,`b`.`list_order`,`b`.`category_id`,`u`.`user_login`,`u`.`user_nickname`,`u`.`user_email` FROM `cmf_portal_post` `a` INNER JOIN `cmf_user` `u` ON `a`.`user_id`=`u`.`id` INNER JOIN `cmf_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` WHERE `a`.`create_time` >= 0 AND `a`.`delete_time` = 0 AND ( `b`.`category_id` IN ('41','42','43') AND `a`.`post_type` = 1 ) ORDER BY `update_time` DESC LIMIT 100,10 [ RunTime:0.000000s ]
[ SQL ] SELECT `post`.*,`category_post`.`category_id` FROM `cmf_portal_post` `post` INNER JOIN `cmf_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.is_top=1 ) AND ( `category_post`.`category_id` = '22' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1725757212 ) GROUP BY `post`.`id` ORDER BY `category_post`.`list_order`,`post`.`published_time` DESC LIMIT 1 [ RunTime:0.000000s ]
[ SQL ] SELECT `post`.*,`category_post`.`category_id` FROM `cmf_portal_post` `post` INNER JOIN `cmf_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` = '22' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1725757212 ) GROUP BY `post`.`id` ORDER BY `post`.`recommended`,`post`.`is_top`,`category_post`.`list_order`,`post`.`published_time` DESC LIMIT 5 [ RunTime:0.000000s ]
[ SQL ] SELECT `post`.*,`category_post`.`category_id` FROM `cmf_portal_post` `post` INNER JOIN `cmf_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.is_top=1 ) AND ( `category_post`.`category_id` = '44' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1725757212 ) GROUP BY `post`.`id` ORDER BY `category_post`.`list_order`,`post`.`published_time` DESC LIMIT 1 [ RunTime:0.015625s ]
[ SQL ] SELECT `post`.*,`category_post`.`category_id` FROM `cmf_portal_post` `post` INNER JOIN `cmf_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.id != 5218 ) AND ( `category_post`.`category_id` = '44' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1725757212 ) GROUP BY `post`.`id` ORDER BY `post`.`recommended`,`post`.`is_top`,`category_post`.`list_order`,`post`.`published_time` DESC LIMIT 5 [ RunTime:0.031250s ]