SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001103s ]
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` = '338' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000371s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 338 [ RunTime:0.001999s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (30260,27879,22693,18036,12254,15755,14271,13973,3761,7571,4929,30205,8190,15437,2395,26468,19441,10841,22768,10292,5318,10258,17274,20280) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000507s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 493 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012260s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 338 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000493s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 338 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000486s ]