SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.002129s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000719s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.002009s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000373s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.002305s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000739s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000636s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000519s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000559s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000557s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000520s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000439s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000385s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000359s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000476s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000368s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000335s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000386s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000327s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000363s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000341s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000346s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000367s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000371s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000324s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000378s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000364s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000291s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000525s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000350s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000251s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.002077s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000376s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000345s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000383s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000242s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.001998s ]
UPDATE `tp_article` SET `hits` = `hits` + 1 WHERE `id` = 60 [ RunTime:0.007183s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000713s ]
SELECT * FROM `tp_article` WHERE `id` = 60 LIMIT 1 [ RunTime:0.000892s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000739s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000465s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000486s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000604s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000421s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000329s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000409s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000335s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000336s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000380s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000522s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000329s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000296s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.001803s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.001777s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000327s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000310s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000503s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000402s ]
SELECT * FROM `tp_cate` WHERE `parent_id` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000383s ]
SELECT * FROM `tp_module` WHERE `id` = 18 [ RunTime:0.000299s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000397s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000317s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000337s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000309s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000283s ]
SELECT * FROM `tp_cate` [ RunTime:0.000298s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000276s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000250s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000314s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000303s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 19 AND `id` < 60 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000823s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000389s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000472s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000393s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 19 AND `id` > 60 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000694s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000400s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000348s ]