SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001564s ]
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` = '311' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000347s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 311 [ RunTime:0.004257s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (14700,10900,3242,12570,1457,2216,13315,17188,4776,20706,198,23273,4715,31553,14214,31656,1541,16972,31276,17877,5819,30075,14423,26109) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.001081s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 493 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.059357s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 311 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000528s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 311 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000486s ]