SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001166s ]
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` = '20031' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000363s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20031 [ RunTime:0.004968s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (19583,17702,25046,11869,9508,22817,22066,8134,19579,20500,8337,3119,27665,22189,8122,3240,26665,25332,13559,22470,27078,10358,11447,18504) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000521s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 515 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013446s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20031 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000535s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20031 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000592s ]