SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001025s ]
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` = '603' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001030s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 603 [ RunTime:0.002378s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (7528,11792,24600,13919,15294,11549,24516,5802,10870,1835,15412,587,3545,26713,2533,10979,13746,28284,2149,1588,30389,17291,7086,1616) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000678s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 495 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012040s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 603 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000490s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 603 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000693s ]