SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001127s ]
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` = '42' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000410s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 42 [ RunTime:0.001706s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (23079,4502,4513,22398,27930,27884,21031,29528,27141,20790,21819,17715,4211,8438,17628,1985,11964,4556,930,526,21087,10601,7808,24791) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000685s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 491 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012491s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 42 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000458s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 42 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000606s ]