SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000648s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 46 LIMIT 1 [ RunTime:0.000332s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000580s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 46 [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000703s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (46,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285) [ RunTime:0.000479s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (44,262,267,268,301,249,287,289,290,291,292,297,300) [ RunTime:0.000349s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (44,262,267,268,301,249,287,289,290,291,292,297,300) AND `brand_id` > 0 [ RunTime:0.000358s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000552s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000249s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(44,262,267,268,301,249,287,289,290,291,292,297,300) [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000423s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000349s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000415s ]
SELECT `id`,`id`,`spec_id`,`item` FROM `tp_spec_item` WHERE `spec_id` IN (1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,52,18,19,20,21,22,23,24,25,26,27,28,29,36,53,33,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,56,57) [ RunTime:0.000466s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000521s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (44,262,267,268,301,249,287,289,290,291,292,297,300) AND `attr_value` <> '' [ RunTime:0.000432s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000476s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000348s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (44,262,267,268,301,249,287,289,290,291,292,297,300) ORDER BY `sort` ASC LIMIT 0,10 [ RunTime:0.000670s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000506s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (44,262,249,267,268,287,289,290,291,292) [ RunTime:0.000519s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000515s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 44 LIMIT 1 [ RunTime:0.000283s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 262 LIMIT 1 [ RunTime:0.000223s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 249 LIMIT 1 [ RunTime:0.000330s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 267 LIMIT 1 [ RunTime:0.000248s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 268 LIMIT 1 [ RunTime:0.000235s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 287 LIMIT 1 [ RunTime:0.000224s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 289 LIMIT 1 [ RunTime:0.000218s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 290 LIMIT 1 [ RunTime:0.000206s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 291 LIMIT 1 [ RunTime:0.000216s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 292 LIMIT 1 [ RunTime:0.000248s ]