[ DB ] CONNECT:[ UseTime:0.008295s ] mysql:host=127.0.0.1;port=3306;dbname=mall_chtc365;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ds_brand` [ RunTime:0.001445s ]
[ SQL ] SELECT `brand_name`,`brand_pic`,`store_id` FROM `ds_brand` WHERE `gc_id` = 770 AND `brand_apply` = 1 ORDER BY `brand_recommend` DESC,`brand_sort` ASC [ RunTime:0.000476s ]
[ SQL ] SELECT `brand_name`,`brand_pic`,`store_id` FROM `ds_brand` WHERE `gc_id` = 871 AND `brand_apply` = 1 ORDER BY `brand_recommend` DESC,`brand_sort` ASC [ RunTime:0.000285s ]
[ SQL ] SELECT `brand_name`,`brand_pic`,`store_id` FROM `ds_brand` WHERE `gc_id` = 931 AND `brand_apply` = 1 ORDER BY `brand_recommend` DESC,`brand_sort` ASC [ RunTime:0.000200s ]
[ SQL ] SELECT `brand_name`,`brand_pic`,`store_id` FROM `ds_brand` WHERE `gc_id` = 817 AND `brand_apply` = 1 ORDER BY `brand_recommend` DESC,`brand_sort` ASC [ RunTime:0.000238s ]
[ SQL ] SELECT `brand_name`,`brand_pic`,`store_id` FROM `ds_brand` WHERE `gc_id` = 1055 AND `brand_apply` = 1 ORDER BY `brand_recommend` DESC,`brand_sort` ASC [ RunTime:0.000256s ]
[ SQL ] SELECT `brand_name`,`brand_pic`,`store_id` FROM `ds_brand` WHERE `gc_id` = 1056 AND `brand_apply` = 1 ORDER BY `brand_recommend` DESC,`brand_sort` ASC [ RunTime:0.000319s ]
[ SQL ] SELECT `brand_name`,`brand_pic`,`store_id` FROM `ds_brand` WHERE `gc_id` = 949 AND `brand_apply` = 1 ORDER BY `brand_recommend` DESC,`brand_sort` ASC [ RunTime:0.000320s ]
[ SQL ] SELECT `brand_name`,`brand_pic`,`store_id` FROM `ds_brand` WHERE `gc_id` = 1159 AND `brand_apply` = 1 ORDER BY `brand_recommend` DESC,`brand_sort` ASC [ RunTime:0.000302s ]
[ SQL ] SELECT `brand_name`,`brand_pic`,`store_id` FROM `ds_brand` WHERE `gc_id` = 1160 AND `brand_apply` = 1 ORDER BY `brand_recommend` DESC,`brand_sort` ASC [ RunTime:0.000306s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsclasstag` [ RunTime:0.001116s ]
[ SQL ] SELECT `gctag_id`,`gctag_name`,`gctag_value`,`gc_id`,`type_id` FROM `ds_goodsclasstag` [ RunTime:0.000590s ]
[ SQL ] SHOW COLUMNS FROM `ds_typebrand` [ RunTime:0.001141s ]
[ SQL ] SELECT `brand_id` FROM `ds_typebrand` WHERE `type_id` = 0 [ RunTime:0.000350s ]
[ SQL ] SHOW COLUMNS FROM `ds_attribute` [ RunTime:0.001372s ]
[ SQL ] SELECT `attr_id`,`attr_name` FROM `ds_attribute` WHERE `type_id` = 0 AND `attr_show` = 1 ORDER BY `attr_sort` ASC [ RunTime:0.000344s ]
[ SQL ] SHOW COLUMNS FROM `ds_attributevalue` [ RunTime:0.000834s ]
[ SQL ] SELECT `attrvalue_id`,`attrvalue_name`,`attr_id` FROM `ds_attributevalue` WHERE `type_id` = 0 ORDER BY `attrvalue_sort` ASC,`attrvalue_id` ASC [ RunTime:0.000295s ]
[ SQL ] SHOW COLUMNS FROM `ds_goods` [ RunTime:0.001438s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_goods` WHERE ( `goods_name` LIKE '%防火阀%' OR `goods_advword` LIKE '%防火阀%' ) AND `goods_state` = 1 AND `goods_verify` = 1 LIMIT 1 [ RunTime:0.001219s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) FROM `ds_goods` WHERE ( `goods_name` LIKE '%防火阀%' OR `goods_advword` LIKE '%防火阀%' ) AND `goods_state` = 1 AND `goods_verify` = 1 GROUP BY CONCAT(goods_commonid) ) `_group_count_` LIMIT 1 [ RunTime:0.035354s ]
[ SQL ] SELECT CONCAT(goods_commonid) as nc_distinct ,goods_id,goods_commonid,goods_name,goods_advword,gc_id,store_id,store_name,goods_price,goods_promotion_price,goods_promotion_type,goods_marketprice,goods_storage,goods_image,goods_freight,goods_salenum,color_id,evaluation_good_star,evaluation_count,is_virtual,is_goodsfcode,is_appoint,is_presell,is_have_gift FROM `ds_goods` WHERE ( `goods_name` LIKE '%防火阀%' OR `goods_advword` LIKE '%防火阀%' ) AND `goods_state` = 1 AND `goods_verify` = 1 GROUP BY CONCAT(goods_commonid) ORDER BY `goods_salenum` DESC LIMIT 0,12 [ RunTime:0.003514s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsimages` [ RunTime:0.002893s ]
[ SQL ] SELECT * FROM `ds_goodsimages` WHERE `goods_commonid` IN (172,225,455,780,1116,1262,224,337,476,1030,1246) ORDER BY `goodsimage_isdefault` DESC,`goodsimage_sort` ASC [ RunTime:0.001818s ]
[ SQL ] SHOW COLUMNS FROM `ds_store` [ RunTime:0.008072s ]
[ SQL ] SELECT `store_id`,`member_id`,`store_name` FROM `ds_store` WHERE `store_id` IN (1,4,19,61,106,112,11,94,40) [ RunTime:0.000417s ]