SHOW FULL COLUMNS FROM `ds_cart` [ RunTime:0.004041s ]
SELECT * FROM `ds_cart` WHERE `buyer_id` IS NULL [ RunTime:0.000730s ]
SHOW FULL COLUMNS FROM `ds_adv` [ RunTime:0.003999s ]
SELECT `adv_id`,`ap_id`,`adv_title`,`adv_link`,`adv_code`,`adv_startdate`,`adv_enddate`,`adv_sort`,`adv_enabled`,`adv_clicknum`,`adv_bgcolor`,`adv_provestatus`,`adv_createtime`,`adv_priority`,`adv_abstract`,`createuser`,`update_user`,`update_time` FROM `ds_adv` WHERE `ap_id` = 1 AND `adv_enabled` = 1 AND `adv_startdate` < 1728547200 AND `adv_enddate` > 1728547200 ORDER BY `adv_sort` ASC,`adv_id` ASC [ RunTime:0.000775s ]
SELECT `adv_id`,`ap_id`,`adv_title`,`adv_link`,`adv_code`,`adv_startdate`,`adv_enddate`,`adv_sort`,`adv_enabled`,`adv_clicknum`,`adv_bgcolor`,`adv_provestatus`,`adv_createtime`,`adv_priority`,`adv_abstract`,`createuser`,`update_user`,`update_time` FROM `ds_adv` WHERE `ap_id` = 90 AND `adv_enabled` = 1 AND `adv_startdate` < 1728547200 AND `adv_enddate` > 1728547200 ORDER BY `adv_sort` ASC,`adv_id` ASC [ RunTime:0.004036s ]
SHOW FULL COLUMNS FROM `ds_search_adv` [ RunTime:0.001032s ]
SELECT `adv_id`,`adv_type`,`keywords`,`adv_title`,`adv_link`,`adv_startdate`,`adv_enddate`,`adv_sort`,`adv_enabled`,`adv_clicknum`,`adv_provestatus`,`adv_createtime`,`goods_id` FROM `ds_search_adv` WHERE `adv_type` = 1 AND `adv_enabled` = 1 AND `adv_startdate` < 1728547200 AND `adv_enddate` > 1728547200 ORDER BY `adv_id` DESC [ RunTime:0.003830s ]
SHOW FULL COLUMNS FROM `ds_applet` [ RunTime:0.000809s ]
SELECT `app_state` FROM `ds_applet` WHERE `member_id` IS NULL LIMIT 1 [ RunTime:0.003652s ]
SHOW FULL COLUMNS FROM `ds_articlehelpclass` [ RunTime:0.000689s ]
SELECT `ac_help_id`,`ac_code`,`ac_name`,`ac_parent_id`,`ac_sort` FROM `ds_articlehelpclass` WHERE `ac_help_id` NOT IN (7,8,9) ORDER BY ac_parent_id ASC, CASE WHEN ac_sort IS NULL THEN 1 ELSE 0 END ASC, ac_sort ASC, ac_help_id ASC [ RunTime:0.003796s ]
SHOW FULL COLUMNS FROM `ds_articlehelp` [ RunTime:0.000691s ]
SELECT `articlehelp_id`,`ac_help_id`,`article_url`,`article_show`,`article_sort`,`article_title`,`article_content`,`article_time`,`article_pic` FROM `ds_articlehelp` WHERE `article_show` = 1 AND `ac_help_id` NOT IN (7,8,9) ORDER BY `article_sort` [ RunTime:0.009942s ]
SHOW FULL COLUMNS FROM `ds_link` [ RunTime:0.000836s ]
SELECT * FROM `ds_link` ORDER BY IF(link_sort IS NULL, 1, 0) asc, link_sort asc [ RunTime:0.003749s ]
SHOW FULL COLUMNS FROM `ds_config` [ RunTime:0.000677s ]
SELECT * FROM `ds_config` [ RunTime:0.003985s ]
SHOW FULL COLUMNS FROM `ds_v_purchase` [ RunTime:0.001472s ]
SELECT * FROM `ds_v_purchase` WHERE `buy_id` = 13579 [ RunTime:1.204963s ]
SHOW FULL COLUMNS FROM `ds_buy_data` [ RunTime:0.001117s ]
SELECT `buy_data_id`,`buy_id`,`product_name`,`num`,`purchase_unit`,`remarks`,cls1.gc_name cls1name,cls2.gc_name cls2name,cls3.gc_name cls3name FROM `ds_buy_data` LEFT JOIN `ds_goodsclass` `cls1` ON `ds_buy_data`.`class_1`=`cls1`.`gc_id` LEFT JOIN `ds_goodsclass` `cls2` ON `ds_buy_data`.`class_2`=`cls2`.`gc_id` LEFT JOIN `ds_goodsclass` `cls3` ON `ds_buy_data`.`class_3`=`cls3`.`gc_id` WHERE `buy_id` = 13579 [ RunTime:0.003989s ]
SHOW FULL COLUMNS FROM `ds_quotation` [ RunTime:0.000933s ]
SELECT quotation.quotation_id,date_format(from_unixtime(quotation.createtime),"%Y-%m-%d") createtime,quotation.status,company.shopname,company.company_address FROM `ds_quotation` `quotation` LEFT JOIN `ds_seller` `seller` ON `quotation`.`supplier_id`=`seller`.`member_id` LEFT JOIN `ds_company_introduction` `company` ON `seller`.`store_id`=`company`.`store_id` WHERE `buy_id` = 13579 [ RunTime:0.004183s ]
SHOW FULL COLUMNS FROM `ds_goods` [ RunTime:0.001277s ]
SELECT `goods`.`goods_id`,`goods`.`store_id`,`goods`.`goods_name`,`goods`.`goods_image`,`company`.`shopname` FROM `ds_goods` `goods` LEFT JOIN `ds_company_introduction` `company` ON `goods`.`store_id`=`company`.`store_id` WHERE `goods`.`state` <> '2' AND `goods`.`goods_state` = '1' AND `goods`.`goods_verify` = '1' AND ( `goods`.`goods_name` LIKE '%酪蛋白酸钠%' ) LIMIT 4 [ RunTime:0.221991s ]
SELECT * FROM `ds_v_purchase` WHERE `buy_id` <> 13579 AND ( `title` LIKE '%酪蛋白酸钠%' ) LIMIT 4 [ RunTime:1.216328s ]
SHOW FULL COLUMNS FROM `ds_member` [ RunTime:0.001378s ]
SELECT * FROM `ds_member` WHERE `member_id` = 135319 AND `member_logic` IS NULL LIMIT 1 [ RunTime:0.002750s ]