SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001202s ]
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` = '796' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000353s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 796 [ RunTime:0.002253s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31963,11674,1007,12344,29220,12247,30514,19671,1764,19655,1483,22449,26081,28738,15606,23947,4597,27788,17922,3350,20312,31921,28993,27681) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000699s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 497 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012680s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 796 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000476s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 796 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000487s ]