SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.006705s ]
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` = '24274' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.007705s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 24274 [ RunTime:0.003267s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (30549,23368,21551,12507,6629,29448,817,18312,12358,11315,5661,363,29294,24946,26243,31724,8930,18575,11201,1509,2816,23026,28884,29986) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000714s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 515 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.016116s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 24274 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000395s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 24274 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001158s ]