SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001150s ]
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` = '24700' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000351s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 24700 [ RunTime:0.001547s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (26745,14970,7022,10817,9968,19862,12393,2317,10316,10413,32090,6881,1708,23428,30857,18541,3036,14412,30530,29863,8943,5383,19437,5926) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000594s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 508 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012475s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 24700 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000500s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 24700 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000468s ]