SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.001669s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000431s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.002092s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000369s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.002149s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000418s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000370s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000332s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000291s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000475s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000324s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000304s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000440s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000292s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000253s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000282s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000251s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000237s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000355s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000262s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000253s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000286s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000276s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000306s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000303s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000279s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000495s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000300s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000216s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.001667s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000328s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000273s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000372s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.002056s ]
UPDATE `tp_article` SET `hits` = `hits` + 1 WHERE `id` = 59 [ RunTime:0.265719s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000728s ]
SELECT * FROM `tp_article` WHERE `id` = 59 LIMIT 1 [ RunTime:0.000753s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000485s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000551s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000416s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000556s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000631s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000343s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000325s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000314s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000280s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000344s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000390s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000440s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000222s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000407s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.001714s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000194s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.000785s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000389s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000199s ]
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.000240s ]
SELECT * FROM `tp_cate` WHERE `parent_id` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000341s ]
SELECT * FROM `tp_module` WHERE `id` = 18 [ RunTime:0.000219s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000259s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000209s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000252s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000234s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000184s ]
SELECT * FROM `tp_cate` [ RunTime:0.000208s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000152s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000140s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000119s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000141s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000165s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 19 AND `id` < 59 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000362s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000186s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000342s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.001464s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000423s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 19 AND `id` > 59 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000557s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000335s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000327s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000357s ]