SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001111s ]
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` = '984' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000417s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 984 [ RunTime:0.001959s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (2323,22949,28271,2704,26666,3276,24984,32039,27338,3705,18786,8381,25380,13960,16156,24344,19658,19880,27000,3491,4540,5300,18559,2442) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000506s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 499 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012636s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 984 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.003699s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 984 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000510s ]