SHOW FULL COLUMNS FROM `ds_cart` [ RunTime:0.002647s ]
SELECT * FROM `ds_cart` WHERE `buyer_id` IS NULL [ RunTime:0.000806s ]
SHOW FULL COLUMNS FROM `ds_adv` [ RunTime:0.002687s ]
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.000851s ]
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.002674s ]
SHOW FULL COLUMNS FROM `ds_search_adv` [ RunTime:0.000933s ]
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.000730s ]
SHOW FULL COLUMNS FROM `ds_applet` [ RunTime:0.000776s ]
SELECT `app_state` FROM `ds_applet` WHERE `member_id` IS NULL LIMIT 1 [ RunTime:0.002476s ]
SHOW FULL COLUMNS FROM `ds_articlehelpclass` [ RunTime:0.000704s ]
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.000852s ]
SHOW FULL COLUMNS FROM `ds_articlehelp` [ RunTime:0.002685s ]
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.001833s ]
SHOW FULL COLUMNS FROM `ds_link` [ RunTime:0.002537s ]
SELECT * FROM `ds_link` ORDER BY IF(link_sort IS NULL, 1, 0) asc, link_sort asc [ RunTime:0.002408s ]
SHOW FULL COLUMNS FROM `ds_config` [ RunTime:0.000747s ]
SELECT * FROM `ds_config` [ RunTime:0.002546s ]
SHOW FULL COLUMNS FROM `ds_manual` [ RunTime:0.000730s ]
SELECT `ShowName` FROM `ds_manual` [ RunTime:0.002335s ]
SHOW FULL COLUMNS FROM `ds_goods` [ RunTime:0.001294s ]
SELECT * FROM `ds_goods` WHERE `goods_id` = 60525 LIMIT 1 [ RunTime:0.002747s ]
SHOW FULL COLUMNS FROM `ds_groupbuy` [ RunTime:0.002696s ]
SELECT * FROM `ds_groupbuy` WHERE `groupbuy_state` = 20 AND `groupbuy_endtime` > 1728549594 AND `goods_commonid` = 60525 ORDER BY `groupbuy_starttime` ASC [ RunTime:0.000784s ]
SHOW FULL COLUMNS FROM `ds_ppintuan` [ RunTime:0.002596s ]
SELECT * FROM `ds_ppintuan` WHERE `pintuan_state` = 1 AND `pintuan_end_time` > 1728549594 AND `pintuan_goods_commonid` = 60525 ORDER BY `pintuan_starttime` ASC [ RunTime:0.000731s ]
SHOW FULL COLUMNS FROM `ds_pbargain` [ RunTime:0.002627s ]
SELECT * FROM `ds_pbargain` WHERE `bargain_goods_id` = 60525 AND `bargain_state` = 2 AND `bargain_endtime` > 1728549594 LIMIT 1 [ RunTime:0.000751s ]
SHOW FULL COLUMNS FROM `ds_wholesalegoods` [ RunTime:0.002567s ]
SELECT * FROM `ds_wholesalegoods` WHERE `wholesalegoods_state` = 1 AND `wholesale_end_time` > 1728549594 AND `goods_id` = 60525 ORDER BY `wholesale_starttime` ASC LIMIT 1 [ RunTime:0.000718s ]
SHOW FULL COLUMNS FROM `ds_pxianshigoods` [ RunTime:0.002640s ]
SELECT * FROM `ds_pxianshigoods` WHERE `xianshigoods_state` = 1 AND `xianshigoods_end_time` > 1728549594 AND `goods_id` = 60525 ORDER BY `xianshigoods_starttime` ASC LIMIT 1 [ RunTime:0.002636s ]
SHOW FULL COLUMNS FROM `ds_store` [ RunTime:0.003100s ]
SELECT * FROM `ds_store` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.002893s ]
SHOW FULL COLUMNS FROM `ds_goodscommon` [ RunTime:0.001272s ]
SELECT * FROM `ds_goodscommon` WHERE `goods_commonid` = 60525 LIMIT 1 [ RunTime:0.001026s ]
SELECT `goods_spec`,`goods_id`,`store_id`,`goods_image`,`color_id` FROM `ds_goods` WHERE `goods_commonid` = 60525 [ RunTime:0.002542s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60525 LIMIT 1 [ RunTime:0.002412s ]
SHOW FULL COLUMNS FROM `ds_goodsimages` [ RunTime:0.000817s ]
SELECT `goodsimage_id`,`goodsimage_url`,`goodsimage_thumb` FROM `ds_goodsimages` WHERE `goods_commonid` = 60525 AND `color_id` = 0 ORDER BY `goodsimage_isdefault` DESC,`goodsimage_sort` ASC [ RunTime:0.002531s ]
SHOW FULL COLUMNS FROM `ds_goodsgift` [ RunTime:0.000879s ]
SELECT * FROM `ds_goodsgift` WHERE `goods_id` = 60525 [ RunTime:0.002409s ]
SHOW FULL COLUMNS FROM `ds_pmansong` [ RunTime:0.002610s ]
SELECT * FROM `ds_pmansong` WHERE `mansong_state` = 1 AND `store_id` = 77966 AND `mansong_endtime` > 1728549594 ORDER BY `mansong_starttime` ASC LIMIT 1 [ RunTime:0.000686s ]
UPDATE `ds_goods` SET `goods_click` = `goods_click` + 1 WHERE `goods_id` = 60525 [ RunTime:0.002614s ]
SHOW FULL COLUMNS FROM `ds_favorites` [ RunTime:0.002686s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 60525 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000712s ]
SELECT COUNT(*) AS think_count FROM `ds_goodscommon` WHERE `state` <> 1 AND `state` <> 2 AND `goods_verify` = 1 AND `goods_state` = 1 AND `goods_commonid` = 60525 [ RunTime:0.000761s ]
SELECT * FROM `ds_goods` WHERE `goods_commonid` = 60525 [ RunTime:0.002666s ]
SELECT * FROM `ds_store` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.001090s ]
SELECT COUNT(*) AS think_count FROM `ds_goodscommon` WHERE `store_id` = 77966 AND `goods_state` = 1 AND `goods_verify` = 1 [ RunTime:0.000698s ]
SHOW FULL COLUMNS FROM `ds_evaluatestore` [ RunTime:0.002544s ]
SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 77966 LIMIT 1 [ RunTime:0.002496s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 77966 AND `fav_type` = 'store' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000709s ]
SHOW FULL COLUMNS FROM `ds_storejoinin` [ RunTime:0.000996s ]
SELECT * FROM `ds_storejoinin` WHERE `member_id` = 77966 LIMIT 1 [ RunTime:0.001980s ]
SHOW FULL COLUMNS FROM `ds_storegoodsclass` [ RunTime:0.000830s ]
SELECT * FROM `ds_storegoodsclass` WHERE `store_id` = 77966 AND `storegc_state` = 1 ORDER BY `storegc_parent_id` ASC,`storegc_sort` ASC,`storegc_id` ASC [ RunTime:0.001005s ]
SELECT * FROM `ds_goods` WHERE `store_id` = 77966 AND `goods_state` = 1 AND `goods_verify` = 1 ORDER BY `goods_salenum` DESC LIMIT 5 [ RunTime:0.001100s ]
SELECT * FROM `ds_goods` WHERE `store_id` = 77966 AND `goods_state` = 1 AND `goods_verify` = 1 ORDER BY `goods_collect` DESC LIMIT 5 [ RunTime:0.001400s ]
SELECT * FROM `ds_goods` WHERE `store_id` = 77966 AND `gc_id_1` = 28 AND `goods_id` <> 60525 LIMIT 2 [ RunTime:0.000956s ]
SHOW FULL COLUMNS FROM `ds_chain_goods` [ RunTime:0.001170s ]
SELECT `chain_id` FROM `ds_chain_goods` WHERE `goods_id` = 60525 AND `goods_storage` > 0 [ RunTime:0.000656s ]
SHOW FULL COLUMNS FROM `ds_chain` [ RunTime:0.000814s ]
SELECT * FROM `ds_chain` WHERE `chain_if_pickup` = 1 AND 0 = 1 AND `chain_state` = 1 LIMIT 1 [ RunTime:0.001011s ]
SHOW FULL COLUMNS FROM `ds_mall_data` [ RunTime:0.000756s ]
SELECT `itemid`,`content` FROM `ds_mall_data` WHERE `itemid` = 60525 LIMIT 1 [ RunTime:0.000577s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `goods_commend` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 [ RunTime:0.000979s ]
SELECT * FROM `ds_store` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000915s ]
SELECT COUNT(*) AS think_count FROM `ds_goodscommon` WHERE `store_id` = 77966 AND `goods_state` = 1 AND `goods_verify` = 1 [ RunTime:0.000649s ]
SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 77966 LIMIT 1 [ RunTime:0.000914s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 77966 AND `fav_type` = 'store' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000628s ]
SHOW FULL COLUMNS FROM `ds_company_introduction` [ RunTime:0.001029s ]
SELECT GROUP_CONCAT(dm.name) as companytype FROM `ds_company_introduction` `dci` LEFT JOIN `ds_master` `dm` ON `dm`.`status`=0 and FIND_IN_SET( dm.id, dci.companytype ) WHERE `dci`.`store_id` = '77966' LIMIT 1 [ RunTime:0.001116s ]
SELECT GROUP_CONCAT(dm.name) as type FROM `ds_company_introduction` `dci` LEFT JOIN `ds_master` `dm` ON `dm`.`status`=0 and FIND_IN_SET( dm.id, dci.type ) WHERE `dci`.`store_id` = '77966' LIMIT 1 [ RunTime:0.001054s ]
SELECT `dci`.`ptype` FROM `ds_company_introduction` `dci` WHERE `dci`.`store_id` = '77966' LIMIT 1 [ RunTime:0.000896s ]
SELECT GROUP_CONCAT(dm.name) as shoplimit FROM `ds_company_introduction` `dci` LEFT JOIN `ds_master` `dm` ON `dm`.`status`=0 and FIND_IN_SET( dm.id, dci.shoplimit ) WHERE `dci`.`store_id` = '77966' LIMIT 1 [ RunTime:0.001081s ]
SELECT GROUP_CONCAT(dm.name) as good FROM `ds_company_introduction` `dci` LEFT JOIN `ds_master` `dm` ON `dm`.`status`=0 and FIND_IN_SET( dm.id, dci.good ) WHERE `dci`.`store_id` = '77966' LIMIT 1 [ RunTime:0.000777s ]
SELECT `sj`.`auth_verify`,`dci`.`userid`,`dci`.`store_id`,`dci`.`shopname`,`dci`.`shopname_en`,`dci`.`year`,`dci`.`register_no`,dma.name as yearmoney,`dci`.`introduce`,`dci`.`logo`,`dci`.`url`,`dci`.`company_province_id`,`dci`.`company_address`,`dci`.`company_address_detail`,`dci`.`patent`,`dci`.`pay`,`dci`.`outw`,`dci`.`inw`,dm.name as num,`dci`.`customer`,`dci`.`store_slide`,`dci`.`store_slide_url`,`dci`.`region`,`dci`.`address`,`dci`.`postcode`,`dci`.`website`,`dci`.`contact_name`,`dci`.`position`,`dci`.`tel`,`dci`.`landline`,`dci`.`brand`,`dci`.`is_authentication`,`dci`.`legal_person`,`dci`.`business_license`,`dci`.`registration_authority`,`dci`.`registration_status`,`dci`.`business_scope`,`dci`.`inspection_date`,`dci`.`ty_name`,`dci`.`ty_legalPersonName`,`dci`.`ty_regStatus`,`dci`.`ty_estiblishTime`,`dci`.`ty_regCapital`,`dci`.`ty_regNumber`,`dci`.`ty_creditCode`,`dci`.`ty_toTime`,`dci`.`ty_approvedTime`,`dci`.`ty_companyOrgType`,`dci`.`ty_staffNumRange`,`dci`.`ty_regInstitute`,`dci`.`ty_regLocation`,`dci`.`ty_businessScope`,`dci`.`ty_id`,`dci`.`ty_checkflg` FROM `ds_company_introduction` `dci` LEFT JOIN `ds_master` `dm` ON `dm`.`status`=0 and dci.num=dm.id LEFT JOIN `ds_master` `dma` ON `dma`.`status`=0 and dci.yearmoney=dma.id LEFT JOIN `ds_master` `dmas` ON `dmas`.`status`=0 and dci.year=dmas.id LEFT JOIN `ds_storejoinin` `sj` ON `sj`.`member_id`=`dci`.`userid` WHERE `dci`.`store_id` = '77966' LIMIT 1 [ RunTime:0.001441s ]
SHOW FULL COLUMNS FROM `ds_member` [ RunTime:0.001546s ]
SELECT `isexhibition` FROM `ds_member` WHERE `member_id` = 77966 LIMIT 1 [ RunTime:0.000962s ]
SELECT `a`.`area_name` FROM `ds_member` `m` LEFT JOIN `ds_area` `a` ON `m`.`member_provinceid`=`a`.`area_id` WHERE `member_id` = 77966 LIMIT 1 [ RunTime:0.000940s ]
SELECT `dm`.`member_auth_state` FROM `ds_store` `ds` LEFT JOIN `ds_member` `dm` ON `ds`.`member_id`=`dm`.`member_id` WHERE `ds`.`member_id` = '77966' LIMIT 1 [ RunTime:0.001038s ]
SHOW FULL COLUMNS FROM `ds_storegrade` [ RunTime:0.001165s ]
SELECT `storegrade_name` FROM `ds_storegrade` WHERE `storegrade_id` = 0 LIMIT 1 [ RunTime:0.000626s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 1 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.002621s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 9 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000851s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 13 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.001150s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 17 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.001123s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 28 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000818s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 29 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.002536s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 30 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000783s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 31 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000723s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 32 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.002592s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 33 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.002614s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 34 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000748s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 35 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.001109s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 36 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000805s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 37 AND `store_id` = 77966 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000790s ]
SHOW FULL COLUMNS FROM `ds_goodsclass` [ RunTime:0.002727s ]
SELECT `gc_name` FROM `ds_goodsclass` WHERE `gc_id` = 28 LIMIT 1 [ RunTime:0.000531s ]
SELECT `gc_name` FROM `ds_goodsclass` WHERE `gc_id` = 31 LIMIT 1 [ RunTime:0.000544s ]
SELECT `gc_name` FROM `ds_goodsclass` WHERE `gc_id` = 2032 LIMIT 1 [ RunTime:0.000541s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` `dg` LEFT JOIN `ds_snsgtaggoods` `dsg` ON `dg`.`goods_id`=`dsg`.`goods_id` LEFT JOIN `ds_snsgoodstag` `dst` ON `dst`.`isplatform`=0 and dsg.gtag_id = dst.gtag_id WHERE `dg`.`store_id` = '77966' AND `dsg`.`gtag_id` = '21' AND `dg`.`goods_verify` = '1' AND `dg`.`goods_state` = '1' AND `dg`.`state` <> '2' [ RunTime:0.002789s ]
select dg.goods_id,dg.gc_id_1,dg.gc_id_2,dg.gc_id_3,dg.store_id,dg.goods_name,dg.goods_image,dg.price,GROUP_CONCAT(dst.gtag_name) as gtag_name,dgc1.gc_name as gc_name1,dgc2.gc_name as gc_name2,dgc3.gc_name as gc_name3 from
ds_goods dg
LEFT JOIN(select GROUP_CONCAT(gtag_id) gtag_ids
,goods_id
,find_in_set('21', GROUP_CONCAT(gtag_id)) t
from ds_snsgtaggoods ds
group by goods_id) dsd ON
dg.goods_id = dsd.goods_id
LEFT JOIN ds_snsgtaggoods dsg ON
dsd.goods_id = dsg.goods_id
LEFT JOIN ds_snsgoodstag dst ON
dst.isplatform = 1 AND
dsg.gtag_id = dst.gtag_id
LEFT JOIN ds_goodsclass dgc1 ON
dgc1.gc_id = dg.gc_id_1
LEFT JOIN ds_goodsclass dgc2 ON
dgc2.gc_id = dg.gc_id_2
LEFT JOIN ds_goodsclass dgc3 ON
dgc3.gc_id = dg.gc_id_3
where dg.store_id = 77966
AND dg.goods_verify = 1
AND dg.goods_state = 1
AND dg.state <> 2
AND (dsd.t = 0 or dsd.t is null)
GROUP BY dg.goods_id
ORDER BY
IF(dg.goods_sort IS NULL, 1, 0) ASC,
dg.goods_sort ASC,
dg.on_shelf_time DESC
LIMIT 6 [ RunTime:0.007427s ]
select dg.goods_id,dg.gc_id_1,dg.gc_id_2,dg.gc_id_3,dg.store_id,dg.goods_name,dg.goods_image,dg.price,GROUP_CONCAT(dst.gtag_name) as gtag_name,dgc1.gc_name as gc_name1,dgc2.gc_name as gc_name2,dgc3.gc_name as gc_name3 from
ds_goods dg
LEFT JOIN(select GROUP_CONCAT(gtag_id) gtag_ids
,goods_id
,find_in_set('21', GROUP_CONCAT(gtag_id)) t
from ds_snsgtaggoods ds
group by goods_id) dsd ON
dg.goods_id = dsd.goods_id
LEFT JOIN ds_snsgtaggoods dsg ON
dsd.goods_id = dsg.goods_id
LEFT JOIN ds_snsgoodstag dst ON
dst.isplatform = 1 AND
dsg.gtag_id = dst.gtag_id
LEFT JOIN ds_goodsclass dgc1 ON
dgc1.gc_id = dg.gc_id_1
LEFT JOIN ds_goodsclass dgc2 ON
dgc2.gc_id = dg.gc_id_2
LEFT JOIN ds_goodsclass dgc3 ON
dgc3.gc_id = dg.gc_id_3
where dg.store_id = 77966
AND dg.goods_verify = 1
AND dg.goods_state = 1
AND dg.state <> 2
AND dsd.t <> 0
GROUP BY dg.goods_id
ORDER BY
IF(dg.goods_sort IS NULL, 1, 0) ASC,
dg.goods_sort ASC,
dg.on_shelf_time DESC
LIMIT 10 [ RunTime:0.007010s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 60523 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.001009s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 60524 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000913s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 60525 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000638s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 60526 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000619s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 60527 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000971s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 60528 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000946s ]
SELECT `gc_name`,`gc_id` FROM `ds_goodsclass` [ RunTime:0.001085s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `ds_goods` `goods` INNER JOIN `ds_store` `store` ON `store`.`store_state`=0 and store.store_id = goods.store_id LEFT JOIN `ds_goodsclass` `gc1` ON `gc1`.`gc_id`=`goods`.`gc_id_1` LEFT JOIN `ds_goodsclass` `gc2` ON `gc2`.`gc_id`=`goods`.`gc_id_2` LEFT JOIN `ds_goodsclass` `gc3` ON `gc3`.`gc_id`=`goods`.`gc_id_3` WHERE `goods`.`goods_verify` = '1' AND `goods`.`goods_state` = '1' AND `goods`.`state` <> '2' AND `goods`.`gc_id_3` = '2032' AND `goods`.`goods_id` <> '60525' GROUP BY `goods`.`goods_id` ) `_group_count_` [ RunTime:0.103129s ]
SELECT `goods`.`goods_id`,`goods`.`gc_id_1`,`goods`.`gc_id_2`,`goods`.`gc_id_3`,`goods`.`store_id`,`goods`.`goods_name`,`goods`.`goods_image`,`goods`.`price`,gc1.gc_name as gc_name1,gc2.gc_name as gc_name2,gc3.gc_name as gc_name3 FROM `ds_goods` `goods` INNER JOIN `ds_store` `store` ON `store`.`store_state`=0 and store.store_id = goods.store_id LEFT JOIN `ds_goodsclass` `gc1` ON `gc1`.`gc_id`=`goods`.`gc_id_1` LEFT JOIN `ds_goodsclass` `gc2` ON `gc2`.`gc_id`=`goods`.`gc_id_2` LEFT JOIN `ds_goodsclass` `gc3` ON `gc3`.`gc_id`=`goods`.`gc_id_3` WHERE `goods`.`goods_verify` = '1' AND `goods`.`goods_state` = '1' AND `goods`.`state` <> '2' AND `goods`.`gc_id_3` = '2032' AND `goods`.`goods_id` <> '60525' GROUP BY `goods`.`goods_id` ORDER BY `goods`.`on_shelf_time` DESC,`goods`.`goods_sort` ASC LIMIT 0,8 [ RunTime:0.106126s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151766 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000705s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151765 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.001006s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151757 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000930s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151466 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000908s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151465 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000875s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151349 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000869s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151263 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000616s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151229 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000906s ]
SHOW FULL COLUMNS FROM `ds_hottags` [ RunTime:0.000803s ]
SELECT * FROM `ds_hottags` ORDER BY CASE WHEN hottags_sort = 0 THEN hottags_id ELSE hottags_sort END ASC [ RunTime:0.001049s ]
SHOW FULL COLUMNS FROM `ds_article` [ RunTime:0.001013s ]
SELECT `article_id`,`ac_id`,`article_title` FROM `ds_article` WHERE `article_status` = 1 AND `ac_id` = 17 ORDER BY `article_time` DESC,`article_hot` DESC LIMIT 6 [ RunTime:0.030280s ]
SHOW FULL COLUMNS FROM `ds_evaluategoods` [ RunTime:0.000921s ]
SELECT count(*) as count,geval_scores FROM `ds_evaluategoods` WHERE `geval_goodsid` = 60525 GROUP BY `geval_scores` [ RunTime:0.001024s ]
SELECT `goods_id`,`goods_image`,`goods_name`,`price`,`store_id` FROM `ds_goods` WHERE `gc_id_3` = 2032 AND `store_id` = 77966 AND `goods_id` <> 60525 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` <> 1 AND `state` <> 2 LIMIT 6 [ RunTime:0.001155s ]
SHOW FULL COLUMNS FROM `ds_adv_whitelst` [ RunTime:0.000721s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000887s ]
SHOW FULL COLUMNS FROM `ds_filter_keyword` [ RunTime:0.000785s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000905s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000582s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000911s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000584s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000906s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000567s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000926s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000554s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60523 LIMIT 1 [ RunTime:0.000925s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000559s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000970s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000589s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000890s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60526 LIMIT 1 [ RunTime:0.000576s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000855s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000643s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000966s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000584s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60527 LIMIT 1 [ RunTime:0.000995s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000545s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.001028s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000562s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000953s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60528 LIMIT 1 [ RunTime:0.000594s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000860s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000911s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000553s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000543s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60523 LIMIT 1 [ RunTime:0.002562s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002419s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.002613s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60524 LIMIT 1 [ RunTime:0.002537s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002819s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.002668s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60525 LIMIT 1 [ RunTime:0.002435s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000659s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000585s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60526 LIMIT 1 [ RunTime:0.000620s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002601s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.002479s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60527 LIMIT 1 [ RunTime:0.002424s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000612s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000608s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 60528 LIMIT 1 [ RunTime:0.000623s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000636s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 77966 LIMIT 1 [ RunTime:0.000670s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000590s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 0 LIMIT 1 [ RunTime:0.002570s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151766 LIMIT 1 [ RunTime:0.000688s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002414s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120645 LIMIT 1 [ RunTime:0.002452s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002528s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120645 LIMIT 1 [ RunTime:0.002435s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151765 LIMIT 1 [ RunTime:0.002461s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002382s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120645 LIMIT 1 [ RunTime:0.002432s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002461s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120645 LIMIT 1 [ RunTime:0.002517s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151757 LIMIT 1 [ RunTime:0.002419s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002417s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120644 LIMIT 1 [ RunTime:0.002400s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000695s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120644 LIMIT 1 [ RunTime:0.002407s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151466 LIMIT 1 [ RunTime:0.000627s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000571s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120867 LIMIT 1 [ RunTime:0.000631s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.001049s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120867 LIMIT 1 [ RunTime:0.001086s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151465 LIMIT 1 [ RunTime:0.001071s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.001002s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120867 LIMIT 1 [ RunTime:0.000649s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002455s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120867 LIMIT 1 [ RunTime:0.000646s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151349 LIMIT 1 [ RunTime:0.002516s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000679s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 93241 LIMIT 1 [ RunTime:0.000977s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000571s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 93241 LIMIT 1 [ RunTime:0.000974s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151263 LIMIT 1 [ RunTime:0.000698s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000585s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120903 LIMIT 1 [ RunTime:0.000897s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000957s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120903 LIMIT 1 [ RunTime:0.000896s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151229 LIMIT 1 [ RunTime:0.000703s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000838s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 118275 LIMIT 1 [ RunTime:0.000682s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000589s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 118275 LIMIT 1 [ RunTime:0.000871s ]