SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.002805s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000633s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.002188s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000420s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.002111s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000372s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000400s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000290s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000248s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000264s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000286s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000280s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000289s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000251s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000327s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000302s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000300s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000240s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000277s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000246s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000237s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000315s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000262s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000296s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000446s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000304s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.002031s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000419s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000280s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000435s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000232s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.001821s ]
UPDATE `tp_article` SET `hits` = `hits` + 1 WHERE `id` = 57 [ RunTime:0.005837s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000337s ]
SELECT * FROM `tp_article` WHERE `id` = 57 LIMIT 1 [ RunTime:0.000440s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000763s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000451s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000619s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000465s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000396s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000244s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000274s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000280s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000268s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000372s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000367s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000545s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000440s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000414s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.002469s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.001946s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000351s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000326s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000516s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000327s ]
SELECT * FROM `tp_cate` WHERE `parent_id` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000404s ]
SELECT * FROM `tp_module` WHERE `id` = 18 [ RunTime:0.000313s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000404s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000721s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000443s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000356s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000300s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000326s ]
SELECT * FROM `tp_cate` [ RunTime:0.000384s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000219s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000151s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000924s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000551s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000492s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 19 AND `id` < 57 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.001088s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000571s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'competition' LIMIT 1 [ RunTime:0.000393s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000466s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000407s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 19 AND `id` > 57 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000908s ]
SELECT * FROM `tp_cate` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000563s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000525s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000499s ]