SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001047s ]
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` = '317' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000408s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 317 [ RunTime:0.004045s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (10543,19764,20378,13311,24742,10737,27884,6463,27955,29209,17076,28300,18441,7136,28537,30421,5683,30879,13482,6022,9702,28266,24671,21294) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000557s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 493 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012221s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 317 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000474s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 317 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001514s ]