diff --git a/mallinkService/src/main/resources/mapper/WxBusinessMapper.xml b/mallinkService/src/main/resources/mapper/WxBusinessMapper.xml index 164d9f6f8..bfd24a89c 100644 --- a/mallinkService/src/main/resources/mapper/WxBusinessMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxBusinessMapper.xml @@ -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