SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001238s ]
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` = '20017' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000689s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20017 [ RunTime:0.007311s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (7262,332,19290,22990,2434,28557,21783,9937,17998,8143,12654,2248,1685,2478,19675,17307,21282,27295,24927,19937,11563,21903,6872,865) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000511s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 507 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.027665s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20017 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001258s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20017 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000784s ]