SELECT a.status,a.category_id,b.* FROM `cmf_portal_category_post` `a` LEFT JOIN `cmf_portal_post` `b` ON `a`.`post_id`=`b`.`id` WHERE `a`.`category_id` = '8' AND `post_status` = '1' AND `delete_time` = 0 and b.id>18 ORDER BY `published_time` ASC; [ RunTime:0.000626s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'management' LIMIT 1 [ RunTime:0.000427s ]
SELECT * FROM `tp_cate` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000259s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000260s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000192s ]
SELECT COUNT(*) AS think_count FROM `tp_article` WHERE ( status = 1 ) AND `cate_id` = 18 LIMIT 1 [ RunTime:0.000373s ]
SELECT * FROM `tp_article` WHERE ( status = 1 ) AND `cate_id` = 18 ORDER BY `sort` ASC,`id` DESC LIMIT 0,12 [ RunTime:0.000653s ]
SELECT * FROM `tp_cate` WHERE `id` = 18 [ RunTime:0.000307s ]
SELECT * FROM `tp_cate` WHERE `id` = 18 [ RunTime:0.000502s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000252s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000736s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000267s ]
SHOW FULL COLUMNS FROM `tp_dictionary_type` [ RunTime:0.000600s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.000715s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000258s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000298s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000573s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000316s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000267s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000329s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000242s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000224s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000360s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000286s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000219s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000368s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.000477s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000191s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000860s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000285s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000257s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000801s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000301s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000246s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000761s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000292s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000264s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000736s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000271s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000265s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000763s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000286s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000260s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000784s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000272s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000263s ]
SHOW FULL COLUMNS FROM `tp_link` [ RunTime:0.000557s ]
SELECT * FROM `tp_link` WHERE `status` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000295s ]