SHOW FULL COLUMNS FROM `idea_goods` [ RunTime:0.001072s ]
SHOW FULL COLUMNS FROM `idea_goods_category` [ RunTime:0.000745s ]
SELECT `id` FROM `idea_goods_category` WHERE `parent_id` = 5 [ RunTime:0.000263s ]
SELECT `parent_id` FROM `idea_goods_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000405s ]
SELECT `title` FROM `idea_goods_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000204s ]
SELECT COUNT(*) AS think_count FROM `idea_goods` WHERE `is_delete` = 0 AND `is_sale` = 1 AND `cat_id` = 5 [ RunTime:0.000369s ]
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` = 5 ORDER BY `id` DESC,`sequence` DESC LIMIT 0,20 [ RunTime:0.000400s ]
SELECT * FROM `idea_goods_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000221s ]
SELECT * FROM `idea_goods_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000255s ]
SELECT * FROM `idea_goods_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `idea_goods_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000202s ]
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.000283s ]