SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001168s ]
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` = '996' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000343s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 996 [ RunTime:0.003101s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (6335,10024,15060,28934,4111,8946,17788,10390,8788,8652,8571,28311,22291,29554,11383,11804,26809,21050,13570,24103,16789,30144,5341,13727) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000834s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 499 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013617s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 996 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000507s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 996 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000538s ]