SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.005417s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000877s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.003440s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000359s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.003175s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000452s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000400s ]
SELECT * FROM `tp_module` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000410s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000377s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000353s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000353s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000389s ]
SELECT * FROM `tp_module` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000418s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000401s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000338s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.003124s ]
SELECT * FROM `tp_field` WHERE `module_id` = 21 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000449s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000351s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000426s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `tp_picture` [ RunTime:0.003001s ]
UPDATE `tp_picture` SET `hits` = `hits` + 1 WHERE `id` = 3 [ RunTime:0.005185s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'picture' LIMIT 1 [ RunTime:0.000361s ]
SELECT * FROM `tp_picture` WHERE `id` = 3 LIMIT 1 [ RunTime:0.000518s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'picture' LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `tp_field` WHERE `module_id` = 21 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000373s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000392s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000353s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000335s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000299s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000307s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000273s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 21 [ RunTime:0.000289s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000393s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000310s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000277s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.002733s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.002500s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000314s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000323s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000940s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,23,21,22) [ RunTime:0.000773s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000668s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,23,21,22) [ RunTime:0.000659s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000674s ]
SELECT * FROM `tp_module` WHERE `id` = 21 [ RunTime:0.000663s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000604s ]
SELECT * FROM `tp_module` WHERE `id` = 21 [ RunTime:0.000571s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000679s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,23,21,22) [ RunTime:0.000570s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000483s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000609s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000537s ]
SELECT `id`,`cate_id`,`title` FROM `tp_picture` WHERE `cate_id` = 7 AND `id` < 3 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.001474s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000598s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000478s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000508s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000501s ]
SELECT `id`,`cate_id`,`title` FROM `tp_picture` WHERE `cate_id` = 7 AND `id` > 3 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000729s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000556s ]
SELECT * FROM `tp_cate` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000551s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000520s ]
SELECT * FROM `tp_cate` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000524s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000499s ]