SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001278s ]
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` = '788' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000619s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 788 [ RunTime:0.002473s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (29109,2526,26807,27997,28384,23943,4393,11266,31490,20511,7654,20261,512,29872,25617,18279,25360,1196,8020,12238,24285,26062,31229,7444) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000492s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 497 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012438s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 788 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000499s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 788 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000536s ]