This commit is contained in:
邹宗楠
2022-01-11 11:47:03 +08:00
parent ed47f20b84
commit 9f12562abd

View File

@@ -4737,9 +4737,14 @@ func QueryPageStores2(db *dao.DaoDB, pageSize, offset int, keyword, vendorStoreI
`
sqlGD := `
SELECT name, 10 vendor_id, wmpoiid vendor_store_id,'' org_code,1 vendor_status,address, phone tel1,pj shop_score,month_sales_tip recent_order_num,
remark city_name,goods_number sku_count,lat, lng, district_name, brand_name, third_category category
city_name,goods_number sku_count,lat, lng, district_name, brand_name, third_category category , shipping_time
FROM gaode_showd
`
//sqlCLB := `
// SELECT name ,20 vendor_id, wmpoiid vendor_store_id,'' org_code,1 vendor_status,address, phone tel1,pj shop_score,month_sales_tip recent_order_num,
// city_name,goods_number sku_count,lat, lng, district_name, brand_name, third_category category , shipping_time
// FROM clb_showd
//`
sql := `
SELECT SQL_CALC_FOUND_ROWS
t1.*, t2.code city_code
@@ -4759,7 +4764,7 @@ func QueryPageStores2(db *dao.DaoDB, pageSize, offset int, keyword, vendorStoreI
case model.VendorIDEBAI:
sql += sqlEbai
case model.VendorIDGD:
sql = sqlGD
sql += sqlGD
}
}
sql += `