SHOW FULL COLUMNS FROM `gs_allclass` [ RunTime:0.008090s ]
SELECT COUNT(*) AS think_count FROM `gs_allclass` WHERE `pid` = 50 AND `status` = 1 [ RunTime:0.000424s ]
SELECT * FROM `gs_allclass` WHERE `id` = 50 LIMIT 1 [ RunTime:0.000473s ]
SELECT * FROM `gs_allclass` WHERE `pid` = 0 AND `status` = 1 [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `gs_article` [ RunTime:0.008028s ]
SELECT * FROM `gs_article` WHERE `status` = 1 AND `pid` IN (51,56,57,58) ORDER BY `look` DESC,`id` DESC LIMIT 10 [ RunTime:0.000985s ]
SELECT `Article`.*,allclass.id AS class_id,allclass.name AS class_name,allclass.pid AS class_pid,allclass.lei AS class_lei FROM `gs_article` `Article` INNER JOIN `gs_allclass` `allclass` ON `allclass`.`id`=`article`.`pid` WHERE `Article`.`id` = '475' LIMIT 1 [ RunTime:0.000646s ]
SELECT * FROM `gs_article` WHERE `id` = 475 LIMIT 1 [ RunTime:0.000508s ]
UPDATE `gs_article` SET `look` = 562 WHERE `id` = 475 [ RunTime:0.000582s ]
SHOW FULL COLUMNS FROM `gs_links` [ RunTime:0.008589s ]
SELECT * FROM `gs_links` WHERE `status` = 1 ORDER BY `id` [ RunTime:0.000365s ]