SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.002175s ]
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` = '20077' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000539s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20077 [ RunTime:0.002578s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (341,1030,24078,5416,11501,24229,18512,972,11798,4195,32016,376,8227,16976,24198,7825,30531,7663,1441,22353,21839,8849,6671,7250) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000476s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 543 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012843s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20077 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001067s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20077 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000481s ]