SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.002543s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000806s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.001418s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000275s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.002240s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000433s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000427s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000365s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000329s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000388s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000273s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000358s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000306s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000296s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000304s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000333s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000314s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000288s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000281s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000299s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000292s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000345s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000277s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000322s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000377s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000345s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.002018s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000388s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000345s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.001887s ]
UPDATE `tp_article` SET `hits` = `hits` + 1 WHERE `id` = 56 [ RunTime:0.006212s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000423s ]
SELECT * FROM `tp_article` WHERE `id` = 56 LIMIT 1 [ RunTime:0.000639s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000486s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000490s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000399s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000343s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000338s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000294s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000391s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000288s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000566s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000360s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000325s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000340s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000254s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000291s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.001669s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.001849s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000380s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000281s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000467s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000346s ]
SELECT * FROM `tp_cate` WHERE `parent_id` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000396s ]
SELECT * FROM `tp_module` WHERE `id` = 18 [ RunTime:0.000332s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000415s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000302s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000569s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000352s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000372s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000364s ]
SELECT * FROM `tp_cate` [ RunTime:0.000330s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000422s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000338s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000337s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000284s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 19 AND `id` < 56 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.001160s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000432s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000450s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000396s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 19 AND `id` > 56 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000648s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000486s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000461s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000467s ]