SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.002428s ]
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` = '12009' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.010401s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12009 [ RunTime:0.002736s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (28706,24255,10086,2047,7348,10032,29543,27366,3706,24241,19919,28402,1670,22989,27671,7396,2350,22286,25272,27158,10974,1114,12338,10985) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000571s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 541 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.019757s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12009 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000486s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12009 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000511s ]