SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001097s ]
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` = '20120' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000330s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20120 [ RunTime:0.002878s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (22999,8237,15661,20121,8181,890,19824,19985,23399,16850,1263,29358,31140,21747,2785,18541,15303,26374,5722,8055,3735,30950,14943,809) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000673s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 513 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012635s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20120 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000531s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20120 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000545s ]