SHOW FULL COLUMNS FROM `ds_cart` [ RunTime:0.000900s ]
SELECT * FROM `ds_cart` WHERE `buyer_id` IS NULL [ RunTime:0.002519s ]
SHOW FULL COLUMNS FROM `ds_adv` [ RunTime:0.002812s ]
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` < 1728543600 AND `adv_enddate` > 1728543600 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` < 1728543600 AND `adv_enddate` > 1728543600 ORDER BY `adv_sort` ASC,`adv_id` ASC [ RunTime:0.002594s ]
SHOW FULL COLUMNS FROM `ds_search_adv` [ RunTime:0.000869s ]
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` < 1728543600 AND `adv_enddate` > 1728543600 ORDER BY `adv_id` DESC [ RunTime:0.002622s ]
SHOW FULL COLUMNS FROM `ds_applet` [ RunTime:0.000880s ]
SELECT `app_state` FROM `ds_applet` WHERE `member_id` IS NULL LIMIT 1 [ RunTime:0.002491s ]
SHOW FULL COLUMNS FROM `ds_articlehelpclass` [ RunTime:0.000923s ]
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.002655s ]
SHOW FULL COLUMNS FROM `ds_articlehelp` [ RunTime:0.000821s ]
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.006963s ]
SHOW FULL COLUMNS FROM `ds_link` [ RunTime:0.000853s ]
SELECT * FROM `ds_link` ORDER BY IF(link_sort IS NULL, 1, 0) asc, link_sort asc [ RunTime:0.002591s ]
SHOW FULL COLUMNS FROM `ds_config` [ RunTime:0.000706s ]
SELECT * FROM `ds_config` [ RunTime:0.002742s ]
SHOW FULL COLUMNS FROM `ds_manual` [ RunTime:0.000747s ]
SELECT `ShowName` FROM `ds_manual` [ RunTime:0.002494s ]
SHOW FULL COLUMNS FROM `ds_goods` [ RunTime:0.001168s ]
SELECT * FROM `ds_goods` WHERE `goods_id` = 82561 LIMIT 1 [ RunTime:0.002701s ]
SHOW FULL COLUMNS FROM `ds_groupbuy` [ RunTime:0.002804s ]
SELECT * FROM `ds_groupbuy` WHERE `groupbuy_state` = 20 AND `groupbuy_endtime` > 1728544609 AND `goods_commonid` = 82561 ORDER BY `groupbuy_starttime` ASC [ RunTime:0.000728s ]
SHOW FULL COLUMNS FROM `ds_ppintuan` [ RunTime:0.002667s ]
SELECT * FROM `ds_ppintuan` WHERE `pintuan_state` = 1 AND `pintuan_end_time` > 1728544609 AND `pintuan_goods_commonid` = 82561 ORDER BY `pintuan_starttime` ASC [ RunTime:0.002491s ]
SHOW FULL COLUMNS FROM `ds_pbargain` [ RunTime:0.000774s ]
SELECT * FROM `ds_pbargain` WHERE `bargain_goods_id` = 82561 AND `bargain_state` = 2 AND `bargain_endtime` > 1728544609 LIMIT 1 [ RunTime:0.002494s ]
SHOW FULL COLUMNS FROM `ds_wholesalegoods` [ RunTime:0.000761s ]
SELECT * FROM `ds_wholesalegoods` WHERE `wholesalegoods_state` = 1 AND `wholesale_end_time` > 1728544609 AND `goods_id` = 82561 ORDER BY `wholesale_starttime` ASC LIMIT 1 [ RunTime:0.000674s ]
SHOW FULL COLUMNS FROM `ds_pxianshigoods` [ RunTime:0.002628s ]
SELECT * FROM `ds_pxianshigoods` WHERE `xianshigoods_state` = 1 AND `xianshigoods_end_time` > 1728544609 AND `goods_id` = 82561 ORDER BY `xianshigoods_starttime` ASC LIMIT 1 [ RunTime:0.000686s ]
SHOW FULL COLUMNS FROM `ds_store` [ RunTime:0.002970s ]
SELECT * FROM `ds_store` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000908s ]
SHOW FULL COLUMNS FROM `ds_goodscommon` [ RunTime:0.002904s ]
SELECT * FROM `ds_goodscommon` WHERE `goods_commonid` = 82561 LIMIT 1 [ RunTime:0.000875s ]
SELECT `goods_spec`,`goods_id`,`store_id`,`goods_image`,`color_id` FROM `ds_goods` WHERE `goods_commonid` = 82561 [ RunTime:0.000642s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 82561 LIMIT 1 [ RunTime:0.002415s ]
SHOW FULL COLUMNS FROM `ds_goodsimages` [ RunTime:0.000812s ]
SELECT `goodsimage_id`,`goodsimage_url`,`goodsimage_thumb` FROM `ds_goodsimages` WHERE `goods_commonid` = 82561 AND `color_id` = 0 ORDER BY `goodsimage_isdefault` DESC,`goodsimage_sort` ASC [ RunTime:0.002545s ]
SHOW FULL COLUMNS FROM `ds_goodsgift` [ RunTime:0.001070s ]
SELECT * FROM `ds_goodsgift` WHERE `goods_id` = 82561 [ RunTime:0.002546s ]
SHOW FULL COLUMNS FROM `ds_pmansong` [ RunTime:0.002640s ]
SELECT * FROM `ds_pmansong` WHERE `mansong_state` = 1 AND `store_id` = 80850 AND `mansong_endtime` > 1728544609 ORDER BY `mansong_starttime` ASC LIMIT 1 [ RunTime:0.000716s ]
UPDATE `ds_goods` SET `goods_click` = `goods_click` + 1 WHERE `goods_id` = 82561 [ RunTime:0.002651s ]
SELECT GROUP_CONCAT(dm.name) as shopmarket FROM `ds_goods` `dg` LEFT JOIN `ds_master` `dm` ON `dm`.`status`=0 and FIND_IN_SET( dm.id, dg.shoplimit ) WHERE `dg`.`goods_id` = '82561' LIMIT 1 [ RunTime:0.002589s ]
SHOW FULL COLUMNS FROM `ds_favorites` [ RunTime:0.000738s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 82561 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.002411s ]
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` = 82561 [ RunTime:0.000708s ]
SELECT * FROM `ds_goods` WHERE `goods_commonid` = 82561 [ RunTime:0.002711s ]
SELECT * FROM `ds_store` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000861s ]
SELECT COUNT(*) AS think_count FROM `ds_goodscommon` WHERE `store_id` = 80850 AND `goods_state` = 1 AND `goods_verify` = 1 [ RunTime:0.002515s ]
SHOW FULL COLUMNS FROM `ds_evaluatestore` [ RunTime:0.000783s ]
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` = 80850 LIMIT 1 [ RunTime:0.002425s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 80850 AND `fav_type` = 'store' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000585s ]
SHOW FULL COLUMNS FROM `ds_storejoinin` [ RunTime:0.002961s ]
SELECT * FROM `ds_storejoinin` WHERE `member_id` = 80850 LIMIT 1 [ RunTime:0.001661s ]
SHOW FULL COLUMNS FROM `ds_storegoodsclass` [ RunTime:0.002612s ]
SELECT * FROM `ds_storegoodsclass` WHERE `store_id` = 80850 AND `storegc_state` = 1 ORDER BY `storegc_parent_id` ASC,`storegc_sort` ASC,`storegc_id` ASC [ RunTime:0.000766s ]
SELECT * FROM `ds_goods` WHERE `store_id` = 80850 AND `goods_state` = 1 AND `goods_verify` = 1 ORDER BY `goods_salenum` DESC LIMIT 5 [ RunTime:0.002993s ]
SELECT * FROM `ds_goods` WHERE `store_id` = 80850 AND `goods_state` = 1 AND `goods_verify` = 1 ORDER BY `goods_collect` DESC LIMIT 5 [ RunTime:0.001271s ]
SELECT * FROM `ds_goods` WHERE `store_id` = 80850 AND `gc_id_1` = 1 AND `goods_id` <> 82561 LIMIT 2 [ RunTime:0.002783s ]
SHOW FULL COLUMNS FROM `ds_chain_goods` [ RunTime:0.000883s ]
SELECT `chain_id` FROM `ds_chain_goods` WHERE `goods_id` = 82561 AND `goods_storage` > 0 [ RunTime:0.002389s ]
SHOW FULL COLUMNS FROM `ds_chain` [ RunTime:0.000856s ]
SELECT * FROM `ds_chain` WHERE `chain_if_pickup` = 1 AND 0 = 1 AND `chain_state` = 1 LIMIT 1 [ RunTime:0.002470s ]
SHOW FULL COLUMNS FROM `ds_mall_data` [ RunTime:0.000768s ]
SELECT `itemid`,`content` FROM `ds_mall_data` WHERE `itemid` = 82561 LIMIT 1 [ RunTime:0.002406s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `goods_commend` = 1 AND `goods_state` = 1 AND `goods_verify` = 1 [ RunTime:0.000812s ]
SELECT * FROM `ds_store` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002745s ]
SELECT COUNT(*) AS think_count FROM `ds_goodscommon` WHERE `store_id` = 80850 AND `goods_state` = 1 AND `goods_verify` = 1 [ RunTime:0.000823s ]
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` = 80850 LIMIT 1 [ RunTime:0.002483s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 80850 AND `fav_type` = 'store' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000662s ]
SHOW FULL COLUMNS FROM `ds_company_introduction` [ RunTime:0.002939s ]
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` = '80850' LIMIT 1 [ RunTime:0.000884s ]
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` = '80850' LIMIT 1 [ RunTime:0.002692s ]
SELECT `dci`.`ptype` FROM `ds_company_introduction` `dci` WHERE `dci`.`store_id` = '80850' LIMIT 1 [ RunTime:0.000621s ]
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` = '80850' LIMIT 1 [ RunTime:0.002584s ]
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` = '80850' LIMIT 1 [ RunTime:0.000913s ]
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` = '80850' LIMIT 1 [ RunTime:0.003232s ]
SHOW FULL COLUMNS FROM `ds_member` [ RunTime:0.001288s ]
SELECT `isexhibition` FROM `ds_member` WHERE `member_id` = 80850 LIMIT 1 [ RunTime:0.002409s ]
SELECT `a`.`area_name` FROM `ds_member` `m` LEFT JOIN `ds_area` `a` ON `m`.`member_provinceid`=`a`.`area_id` WHERE `member_id` = 80850 LIMIT 1 [ RunTime:0.000669s ]
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` = '80850' LIMIT 1 [ RunTime:0.000706s ]
SHOW FULL COLUMNS FROM `ds_storegrade` [ RunTime:0.002637s ]
SELECT `storegrade_name` FROM `ds_storegrade` WHERE `storegrade_id` = 0 LIMIT 1 [ RunTime:0.002377s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 1 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000768s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 2 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.002551s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 3 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.001566s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 4 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.002775s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 5 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000915s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 6 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.002694s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 7 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000744s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 8 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.002647s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 9 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.001084s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 10 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.001244s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 11 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.002410s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_2` = 12 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.001240s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 13 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.000780s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 17 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.001114s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 28 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.002552s ]
SELECT COUNT(*) AS think_count FROM `ds_goods` WHERE `gc_id_1` = 37 AND `store_id` = 80850 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` = 0 [ RunTime:0.001121s ]
SHOW FULL COLUMNS FROM `ds_goodsclass` [ RunTime:0.002868s ]
SELECT `gc_name` FROM `ds_goodsclass` WHERE `gc_id` = 1 LIMIT 1 [ RunTime:0.000807s ]
SELECT `gc_name` FROM `ds_goodsclass` WHERE `gc_id` = 3 LIMIT 1 [ RunTime:0.002408s ]
SELECT `gc_name` FROM `ds_goodsclass` WHERE `gc_id` = 676 LIMIT 1 [ RunTime:0.000564s ]
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` = '80850' AND `dsg`.`gtag_id` = '21' AND `dg`.`goods_verify` = '1' AND `dg`.`goods_state` = '1' AND `dg`.`state` <> '2' [ RunTime:0.002636s ]
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 = 80850
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.007158s ]
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 = 80850
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.008553s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 143273 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000694s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 61780 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.002388s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 61781 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000534s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 82555 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.002443s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 82556 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000587s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 82557 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.002374s ]
SELECT `gc_name`,`gc_id` FROM `ds_goodsclass` [ RunTime:0.000685s ]
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` = '676' AND `goods`.`goods_id` <> '82561' GROUP BY `goods`.`goods_id` ) `_group_count_` [ RunTime:0.004072s ]
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` = '676' AND `goods`.`goods_id` <> '82561' GROUP BY `goods`.`goods_id` ORDER BY `goods`.`on_shelf_time` DESC,`goods`.`goods_sort` ASC LIMIT 0,8 [ RunTime:0.002524s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151470 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.002472s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151464 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.002414s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151463 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.002511s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 151462 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000685s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 149487 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.002468s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 143474 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000608s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 143472 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.002388s ]
SELECT * FROM `ds_favorites` WHERE `fav_id` = 143273 AND `fav_type` = 'goods' AND `member_id` IS NULL LIMIT 1 [ RunTime:0.000562s ]
SHOW FULL COLUMNS FROM `ds_hottags` [ RunTime:0.002561s ]
SELECT * FROM `ds_hottags` ORDER BY CASE WHEN hottags_sort = 0 THEN hottags_id ELSE hottags_sort END ASC [ RunTime:0.000699s ]
SHOW FULL COLUMNS FROM `ds_article` [ RunTime:0.002715s ]
SELECT `article_id`,`ac_id`,`article_title` FROM `ds_article` WHERE `article_status` = 1 AND `ac_id` = 14 ORDER BY `article_time` DESC,`article_hot` DESC LIMIT 6 [ RunTime:0.028072s ]
SHOW FULL COLUMNS FROM `ds_evaluategoods` [ RunTime:0.001369s ]
SELECT count(*) as count,geval_scores FROM `ds_evaluategoods` WHERE `geval_goodsid` = 82561 GROUP BY `geval_scores` [ RunTime:0.001012s ]
SELECT `goods_id`,`goods_image`,`goods_name`,`price`,`store_id` FROM `ds_goods` WHERE `gc_id_3` = 676 AND `store_id` = 80850 AND `goods_id` <> 82561 AND `goods_verify` = 1 AND `goods_state` = 1 AND `state` <> 1 AND `state` <> 2 LIMIT 6 [ RunTime:0.002610s ]
SHOW FULL COLUMNS FROM `ds_adv_whitelst` [ RunTime:0.001061s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002392s ]
SHOW FULL COLUMNS FROM `ds_filter_keyword` [ RunTime:0.002538s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000581s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002253s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000544s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000571s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002223s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000567s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002226s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002245s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 61780 LIMIT 1 [ RunTime:0.002317s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000538s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002280s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000562s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002271s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 61781 LIMIT 1 [ RunTime:0.000622s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002248s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000563s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002272s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000582s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 82555 LIMIT 1 [ RunTime:0.002248s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000546s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002251s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000497s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002233s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 82556 LIMIT 1 [ RunTime:0.000572s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002263s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000542s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002282s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000507s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 82557 LIMIT 1 [ RunTime:0.002266s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000532s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002285s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000505s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002179s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 82558 LIMIT 1 [ RunTime:0.000582s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002233s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000541s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002284s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000594s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 143273 LIMIT 1 [ RunTime:0.002290s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000564s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002226s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 61780 LIMIT 1 [ RunTime:0.000554s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002221s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000539s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 61781 LIMIT 1 [ RunTime:0.002252s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002270s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002229s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 82555 LIMIT 1 [ RunTime:0.002277s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002228s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000604s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 82556 LIMIT 1 [ RunTime:0.002731s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000656s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.002415s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 82557 LIMIT 1 [ RunTime:0.000609s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002263s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000570s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002224s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 0 LIMIT 1 [ RunTime:0.000544s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151470 LIMIT 1 [ RunTime:0.002274s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000612s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120812 LIMIT 1 [ RunTime:0.002275s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000621s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120812 LIMIT 1 [ RunTime:0.002260s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151464 LIMIT 1 [ RunTime:0.000574s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002188s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120260 LIMIT 1 [ RunTime:0.000592s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002252s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120260 LIMIT 1 [ RunTime:0.000564s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151463 LIMIT 1 [ RunTime:0.002289s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000550s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120260 LIMIT 1 [ RunTime:0.002276s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000535s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120260 LIMIT 1 [ RunTime:0.002213s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 151462 LIMIT 1 [ RunTime:0.000578s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002263s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120260 LIMIT 1 [ RunTime:0.000579s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002219s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 120260 LIMIT 1 [ RunTime:0.000509s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 149487 LIMIT 1 [ RunTime:0.002247s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000538s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 111371 LIMIT 1 [ RunTime:0.002216s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000560s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 111371 LIMIT 1 [ RunTime:0.002233s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 143474 LIMIT 1 [ RunTime:0.000594s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002158s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 87419 LIMIT 1 [ RunTime:0.000580s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002216s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 87419 LIMIT 1 [ RunTime:0.000573s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 143472 LIMIT 1 [ RunTime:0.002245s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000548s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 87419 LIMIT 1 [ RunTime:0.002257s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.000563s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 87419 LIMIT 1 [ RunTime:0.002241s ]
SELECT `img_thumb_one`,`img_thumb_two`,`img_thumb_three` FROM `ds_goods` WHERE `goods_id` = 143273 LIMIT 1 [ RunTime:0.000554s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002208s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000632s ]
SELECT `keyword` FROM `ds_filter_keyword` WHERE `type` = 'user' [ RunTime:0.002218s ]
SELECT * FROM `ds_adv_whitelst` WHERE `store_id` = 80850 LIMIT 1 [ RunTime:0.000576s ]