SHOW FULL COLUMNS FROM `idea_goods` [ RunTime:0.000865s ]
SHOW FULL COLUMNS FROM `idea_goods_category` [ RunTime:0.000687s ]
SELECT `id` FROM `idea_goods_category` WHERE `parent_id` = 56 [ RunTime:0.000275s ]
SELECT `id` FROM `idea_goods_category` WHERE `parent_id` = 1 [ RunTime:0.000249s ]
SELECT `id` FROM `idea_goods_category` WHERE `parent_id` = 5 [ RunTime:0.000178s ]
SELECT `id` FROM `idea_goods_category` WHERE `parent_id` = 14 [ RunTime:0.000178s ]
SELECT `title` FROM `idea_goods_category` WHERE `id` = 56 LIMIT 1 [ RunTime:0.000344s ]
SELECT COUNT(*) AS think_count FROM `idea_goods` WHERE `is_delete` = 0 AND `is_sale` = 1 AND `cat_id` IN (1,5,14,20,16,56) [ RunTime:0.000361s ]
SELECT `id`,`title`,`subtitle`,`pic`,`price`,`market_price`,`hits`,`initial_sales`,`sales`,`cat_id` FROM `idea_goods` WHERE `is_delete` = 0 AND `is_sale` = 1 AND `cat_id` IN (1,5,14,20,16,56) ORDER BY `id` DESC,`sequence` DESC LIMIT 0,20 [ RunTime:0.000425s ]
SELECT * FROM `idea_goods_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000222s ]
SELECT * FROM `idea_goods_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `idea_goods_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `idea_goods_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000233s ]
select * from idea_goods_category where is_show = 1 and parent_id = 56 order by is_top desc,sequence desc,id desc limit 10 [ RunTime:0.000281s ]