SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.004152s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000904s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.005744s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000683s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.004524s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000763s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000702s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000719s ]
SELECT * FROM `tp_module` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000670s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000678s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000643s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000902s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000637s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000650s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000613s ]
SELECT * FROM `tp_module` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000635s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000702s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000560s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000487s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.004393s ]
SELECT * FROM `tp_field` WHERE `module_id` = 21 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000681s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000503s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000536s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `tp_picture` [ RunTime:0.003377s ]
UPDATE `tp_picture` SET `hits` = `hits` + 1 WHERE `id` = 4 [ RunTime:0.004716s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'picture' LIMIT 1 [ RunTime:0.000678s ]
SELECT * FROM `tp_picture` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000690s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'picture' LIMIT 1 [ RunTime:0.000415s ]
SELECT * FROM `tp_field` WHERE `module_id` = 21 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000402s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000419s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000440s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000342s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000319s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000314s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000293s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 21 [ RunTime:0.000302s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000379s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000369s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000367s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000379s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.002488s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000281s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.002357s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000347s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000312s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000388s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,23,21,22) [ RunTime:0.000386s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000361s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,23,21,22) [ RunTime:0.000362s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000361s ]
SELECT * FROM `tp_module` WHERE `id` = 21 [ RunTime:0.000368s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000487s ]
SELECT * FROM `tp_module` WHERE `id` = 21 [ RunTime:0.000463s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000508s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,23,21,22) [ RunTime:0.000488s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000391s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000460s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000330s ]
SELECT `id`,`cate_id`,`title` FROM `tp_picture` WHERE `cate_id` = 7 AND `id` < 4 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000579s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000343s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000288s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000353s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000361s ]
SELECT `id`,`cate_id`,`title` FROM `tp_picture` WHERE `cate_id` = 7 AND `id` > 4 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000588s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000340s ]
SELECT * FROM `tp_cate` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000363s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000347s ]
SELECT * FROM `tp_cate` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000369s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000346s ]