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` = '2' AND `post_status` = '1' AND `delete_time` = 0 and b.id>189 ORDER BY `published_time` ASC; [ RunTime:0.000738s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'news' LIMIT 1 [ RunTime:0.000246s ]
SELECT * FROM `tp_cate` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000278s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000233s ]
SELECT COUNT(*) AS think_count FROM `tp_article` WHERE ( status = 1 ) AND `cate_id` = 14 LIMIT 1 [ RunTime:0.000358s ]
SELECT * FROM `tp_article` WHERE ( status = 1 ) AND `cate_id` = 14 ORDER BY `sort` ASC,`id` DESC LIMIT 12,12 [ RunTime:0.000632s ]
SELECT * FROM `tp_cate` WHERE `id` = 14 [ RunTime:0.000418s ]
SELECT * FROM `tp_cate` WHERE `id` = 14 [ RunTime:0.000294s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000278s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000839s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `tp_dictionary_type` [ RunTime:0.000683s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000285s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.000663s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000346s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000365s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000674s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000357s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000270s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000344s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000303s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000254s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000331s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000394s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000337s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000225s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000398s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.000535s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000213s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000810s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000312s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000314s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000859s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000335s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000300s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000984s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000321s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000284s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000850s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000324s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000297s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000875s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000329s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000290s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000825s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000327s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000296s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000838s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000337s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000339s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000904s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000380s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000300s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000784s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000347s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000320s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000968s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000340s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000305s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000851s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000354s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000330s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000906s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000355s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `tp_link` [ RunTime:0.000605s ]
SELECT * FROM `tp_link` WHERE `status` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000327s ]