SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.003289s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000855s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.003028s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.002481s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000428s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000457s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000527s ]
SELECT * FROM `tp_module` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000501s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000495s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000497s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000522s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000521s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000497s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000488s ]
SELECT * FROM `tp_module` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000502s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000566s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000426s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000409s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.003254s ]
SELECT * FROM `tp_field` WHERE `module_id` = 21 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000672s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000346s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000372s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `tp_picture` [ RunTime:0.002601s ]
UPDATE `tp_picture` SET `hits` = `hits` + 1 WHERE `id` = 6 [ RunTime:0.005207s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'picture' LIMIT 1 [ RunTime:0.000415s ]
SELECT * FROM `tp_picture` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000500s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'picture' LIMIT 1 [ RunTime:0.000364s ]
SELECT * FROM `tp_field` WHERE `module_id` = 21 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000389s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000373s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000391s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000359s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000404s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000412s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000358s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 21 [ RunTime:0.000319s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000336s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000399s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000360s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000288s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000357s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.002362s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000269s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.002222s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000325s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000401s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,23,21,22) [ RunTime:0.000376s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000377s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,23,21,22) [ RunTime:0.000500s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `tp_module` WHERE `id` = 21 [ RunTime:0.000351s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000397s ]
SELECT * FROM `tp_module` WHERE `id` = 21 [ RunTime:0.000365s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001016s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,23,21,22) [ RunTime:0.000678s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000512s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000590s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000583s ]
SELECT `id`,`cate_id`,`title` FROM `tp_picture` WHERE `cate_id` = 7 AND `id` < 6 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.001359s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000609s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'case' LIMIT 1 [ RunTime:0.000487s ]
SELECT * FROM `tp_cate` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000571s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000536s ]
SELECT `id`,`cate_id`,`title` FROM `tp_picture` WHERE `cate_id` = 7 AND `id` > 6 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000710s ]
SELECT * FROM `tp_cate` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000529s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000552s ]
SELECT * FROM `tp_cate` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000591s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000563s ]