[ DB ] CONNECT:[ UseTime:0.000478s ] mysql:host=127.0.0.1;port=3306;dbname=sql478854;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ds_config` [ RunTime:0.001007s ]
[ SQL ] SELECT * FROM `ds_config` [ RunTime:0.001027s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsclass` [ RunTime:0.000958s ]
[ SQL ] SELECT * FROM `ds_goodsclass` ORDER BY `gc_parent_id` ASC,`gc_sort` ASC,`gc_id` ASC [ RunTime:0.001616s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsclassnav` [ RunTime:0.001021s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 1 LIMIT 1 [ RunTime:0.000379s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 4 LIMIT 1 [ RunTime:0.000222s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 8 LIMIT 1 [ RunTime:0.000218s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 9 LIMIT 1 [ RunTime:0.000228s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 10 LIMIT 1 [ RunTime:0.000208s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 11 LIMIT 1 [ RunTime:0.000209s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 12 LIMIT 1 [ RunTime:0.000227s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 15 LIMIT 1 [ RunTime:0.000206s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 16 LIMIT 1 [ RunTime:0.000210s ]
[ SQL ] SELECT * FROM `ds_goodsclassnav` WHERE `gc_id` = 468 LIMIT 1 [ RunTime:0.000207s ]
[ SQL ] SHOW COLUMNS FROM `ds_typebrand` [ RunTime:0.000884s ]
[ SQL ] SELECT * FROM `ds_typebrand` WHERE `type_id` IN (1,0) LIMIT 10000 [ RunTime:0.000249s ]
[ SQL ] SELECT `brand_id` FROM `ds_typebrand` WHERE `type_id` = 1 [ RunTime:0.000218s ]
[ SQL ] SHOW COLUMNS FROM `ds_attribute` [ RunTime:0.000670s ]
[ SQL ] SELECT `attr_id`,`attr_name` FROM `ds_attribute` WHERE `type_id` = 1 AND `attr_show` = 1 ORDER BY `attr_sort` ASC [ RunTime:0.000204s ]
[ SQL ] SHOW COLUMNS FROM `ds_attributevalue` [ RunTime:0.000622s ]
[ SQL ] SELECT `attrvalue_id`,`attrvalue_name`,`attr_id` FROM `ds_attributevalue` WHERE `type_id` = 1 ORDER BY `attrvalue_sort` ASC,`attrvalue_id` ASC [ RunTime:0.000339s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodscommon` [ RunTime:0.001008s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id_3` = 591 AND `goodscommon`.`areaid_1` = 20 AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ) `_group_count_` LIMIT 1 [ RunTime:0.000384s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_commonid`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`gc_id`,`goodscommon`.`store_id`,`goodscommon`.`store_name`,`goodscommon`.`goods_price`,`goods`.`goods_promotion_price`,`goods`.`goods_promotion_type`,`goodscommon`.`goods_marketprice`,`goods`.`goods_storage`,`goodscommon`.`goods_image`,`goodscommon`.`goods_freight`,`goods`.`goods_salenum`,`goods`.`color_id`,`goods`.`evaluation_good_star`,`goods`.`evaluation_count`,`goodscommon`.`is_virtual`,`goodscommon`.`is_goodsfcode`,`goodscommon`.`is_appoint`,`goodscommon`.`is_presell`,`goods`.`is_have_gift` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id_3` = 591 AND `goodscommon`.`areaid_1` = 20 AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goods`.`goods_promotion_price` DESC LIMIT 0,12 [ RunTime:0.000447s ]
[ SQL ] SELECT `gc_id`,`gc_title`,`gc_keywords`,`gc_description` FROM `ds_goodsclass` WHERE `gc_keywords` <> '' [ RunTime:0.000366s ]