SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.002465s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001358s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001818s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.001624s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.001273s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.002142s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.002179s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.002379s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.002241s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.002682s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.002126s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.001972s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.002547s ]
UPDATE `tp_article` SET `hits` = `hits` + 1 WHERE `id` = 238 [ RunTime:0.008001s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.001257s ]
SELECT * FROM `tp_article` WHERE `id` = 238 LIMIT 1 [ RunTime:0.001838s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000933s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort`,`id` DESC [ RunTime:0.001997s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001389s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.002037s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001165s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001352s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.001620s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001356s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.001485s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001688s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '2' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001480s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '2' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001038s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.001033s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.002114s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.002238s ]
SHOW FULL COLUMNS FROM `tp_page` [ RunTime:0.002310s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.001191s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.002291s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000804s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 4 AND `id` < 238 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000513s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 4 AND `id` > 238 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000478s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000446s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000307s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000602s ]
SELECT * FROM `tp_article` WHERE ( status = 1 ) AND `cate_id` = 4 ORDER BY `sort` ASC,`id` DESC LIMIT 3 [ RunTime:0.000478s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000250s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000568s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000596s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000292s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000528s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000655s ]