SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001282s ]
SELECT `a`.`hp`,`a`.`sl`,`a`.`xl`,`a`.`yy`,b.name as Cname,b.id as Cid FROM `tool_couplet` `a` INNER JOIN `tool_category` `b` ON `a`.`category_id`=`b`.`id` WHERE `a`.`id` = '24311' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000377s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 24311 [ RunTime:0.005038s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31128,15757,31084,8094,9384,20243,3333,3283,22989,599,22035,19698,23406,27240,3491,24427,12600,12456,9063,27229,5082,3999,20235,18574) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000652s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.016444s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 24311 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000474s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 24311 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000402s ]