SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001187s ]
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` = '840' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000416s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 840 [ RunTime:0.003116s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (20325,10795,2971,1226,5645,29983,31017,25742,8464,10942,18964,8942,6763,27462,902,5527,31155,9060,24283,19720,30435,4544,2205,19874) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000722s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 497 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.022285s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 840 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000367s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 840 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000618s ]