SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001091s ]
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` = '20717' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000304s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20717 [ RunTime:0.001487s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31003,30897,30551,3244,13339,28455,311,22563,22245,134,24475,16875,18493,21984,23361,13278,14780,13962,5357,29154,26436,21789,11869,9784) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000496s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 496 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013493s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20717 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000513s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20717 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000495s ]