SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001125s ]
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` = '8004' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000308s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 8004 [ RunTime:0.002094s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31134,19419,17812,8086,15151,11667,27862,27475,5870,27630,2885,10774,2381,19952,30302,7620,17591,8090,1161,20887,11352,2558,23987,29675) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000477s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 502 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014228s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 8004 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000549s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 8004 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000376s ]