SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.004229s ]
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` = '30004' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.004125s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30004 [ RunTime:0.004014s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (15592,28593,17725,13073,284,15277,21261,24948,16623,21256,19510,5709,9343,22510,14306,7515,21768,14598,13820,6266,23513,29379,28197,15823) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000720s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 513 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.017660s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30004 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000883s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30004 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001762s ]