SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001155s ]
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` = '12240' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000319s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12240 [ RunTime:0.003269s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (16638,11867,29598,30486,13209,25148,28448,6850,21070,1132,15007,25199,15164,3199,21885,15205,29495,19323,4115,9570,28251,22787,18037,2409) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000581s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 509 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012474s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12240 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000450s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12240 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000578s ]