SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000657s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 323 LIMIT 1 [ RunTime:0.000450s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000530s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 323 [ RunTime:0.000327s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000808s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (323,335,336,337,338,339,340,341) [ RunTime:0.000364s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 194 [ RunTime:0.000259s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 194 AND `brand_id` > 0 [ RunTime:0.000267s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000463s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000235s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(194) [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000411s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 194 AND `attr_value` <> '' [ RunTime:0.000262s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000427s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000396s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 194 ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.000412s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000560s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 194 LIMIT 1 [ RunTime:0.000323s ]