[ DB ] CONNECT:[ UseTime:0.001005s ] mysql:host=127.0.0.1;port=3306;dbname=sql_j688mall_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `mz_articleclass` [ RunTime:0.000919s ]
[ SQL ] SELECT * FROM `mz_articleclass` WHERE `ac_id` <= 7 ORDER BY `ac_sort` ASC [ RunTime:0.000504s ]
[ SQL ] SHOW COLUMNS FROM `mz_article` [ RunTime:0.000700s ]
[ SQL ] SELECT `article`.`article_id`,`article`.`ac_id`,`article`.`article_url`,`article`.`article_title`,`article`.`article_time`,`article_class`.`ac_name`,`article_class`.`ac_parent_id` FROM `mz_article` `article` LEFT JOIN `mz_articleclass` `article_class` ON `article`.`ac_id`=`article_class`.`ac_id` WHERE ( article.article_show = '1' and (article_class.ac_id <= 7 or (article_class.ac_parent_id > 0 and article_class.ac_parent_id <= 7)) ) ORDER BY `article_sort` ASC,`article_time` DESC LIMIT 300 [ RunTime:0.000925s ]
[ SQL ] SHOW COLUMNS FROM `mz_cart` [ RunTime:0.000665s ]
[ SQL ] SELECT * FROM `mz_cart` WHERE `buyer_id` IS NULL [ RunTime:0.000317s ]
[ SQL ] SHOW COLUMNS FROM `mz_typebrand` [ RunTime:0.001412s ]
[ SQL ] SELECT `brand_id` FROM `mz_typebrand` WHERE `type_id` = 1 [ RunTime:0.001804s ]
[ SQL ] SHOW COLUMNS FROM `mz_attribute` [ RunTime:0.000914s ]
[ SQL ] SELECT `attr_id`,`attr_name` FROM `mz_attribute` WHERE `type_id` = 1 AND `attr_show` = 1 ORDER BY `attr_sort` ASC [ RunTime:0.000867s ]
[ SQL ] SHOW COLUMNS FROM `mz_attributevalue` [ RunTime:0.000768s ]
[ SQL ] SELECT `attrvalue_id`,`attrvalue_name`,`attr_id` FROM `mz_attributevalue` WHERE `type_id` = 1 ORDER BY `attrvalue_sort` ASC,`attrvalue_id` ASC [ RunTime:0.000314s ]
[ SQL ] SHOW COLUMNS FROM `mz_goodscommon` [ RunTime:0.001376s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) FROM `mz_goodscommon` `goodscommon` INNER JOIN `mz_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id_3` = 732 AND `goods`.`is_have_gift` = 1 AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ) `_group_count_` LIMIT 1 [ RunTime:0.000938s ]
[ 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 `mz_goodscommon` `goodscommon` INNER JOIN `mz_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id_3` = 732 AND `goods`.`is_have_gift` = 1 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.000957s ]
[ SQL ] SHOW COLUMNS FROM `mz_goodsclass` [ RunTime:0.000945s ]
[ SQL ] SELECT `gc_id`,`gc_title`,`gc_keywords`,`gc_description` FROM `mz_goodsclass` WHERE `gc_keywords` <> '' [ RunTime:0.000988s ]