SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001294s ]
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` = '10047' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000346s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 10047 [ RunTime:0.003862s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (32145,5341,5383,12711,10117,8725,4,493,19352,1124,1436,13791,9703,27866,14285,4304,29628,8241,24027,8407,29150,11086,23882,25807) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000497s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 491 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012694s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 10047 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000475s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 10047 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000520s ]