Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e96361256d
|
|
@ -163,8 +163,8 @@
|
|||
|
||||
</select>
|
||||
<select id="selectRecommendProductList" resultType="com.czg.product.vo.RecommendProVO">
|
||||
select ROUND(
|
||||
ifnull(ST_Distance_Sphere(POINT(b.lng, b.lat), POINT(#{lng}, #{lat})) / 1000, 2), 0) AS distance,
|
||||
select ifnull(
|
||||
ROUND(ST_Distance_Sphere(POINT(b.lng, b.lat), POINT(#{lng}, #{lat})) / 1000, 2), 0) AS distance,
|
||||
c.name, a.origin_price, a.sale_price, b.shop_name, b.districts, c.cover_img, b.logo, c.id,
|
||||
a.real_sales_number saleNum, (round(a.sale_price / a.origin_price, 2) * 10) AS discount,
|
||||
c.id productId, a.id skuId, b.id shopId
|
||||
|
|
|
|||
Loading…
Reference in New Issue