Parcourir la source

[统计][修改][调整业态分析列表精度]

release_toaliyun_real
luozukai il y a 6 ans
Parent
révision
6827b2d303
2 fichiers modifiés avec 6 ajouts et 3 suppressions
  1. +5
    -3
      mallinkService/src/main/resources/mapper/WxBusinessMapper.xml
  2. +1
    -0
      mallinkService/src/main/resources/mapper/WxMerchantMapper.xml

+ 5
- 3
mallinkService/src/main/resources/mapper/WxBusinessMapper.xml Voir le fichier

@@ -115,7 +115,8 @@
left join wx_shop ws on(mtd.shop_id = ws.id)
where m.business_id = b.id and m.tenant_id=#{tenantId} )
/100,2) rent,

round(
round(
(select sum(mtd.trade_amt)
from wx_merchant m
@@ -141,7 +142,9 @@
left join wx_merchant_shop mtd on mtd.merchant_id = m.id
left join wx_shop ws on(mtd.shop_id = ws.id)
where m.business_id = b.id)
/100,2) rentSaleRate,
/100,2)
,4)
rentSaleRate,
round(
(select sum(mtd.trade_amt)
@@ -153,7 +156,6 @@
/100,2) comPrice
from wx_business b
limit 20
</select>

<select id="devoteList" parameterType="com.iformall.domain.po.WxBusiness" resultType="hashmap">


+ 1
- 0
mallinkService/src/main/resources/mapper/WxMerchantMapper.xml Voir le fichier

@@ -245,6 +245,7 @@
where f.id = #{id}
and m.tenant_id = #{tenantId}
and s.is_del = 0
and ms.is_del = 0
group by m.business_id
</select>


Chargement…
Annuler
Enregistrer