Ver a proveniência

[审批][修改][修改卷列表过滤审批状态]

release_toaliyun_real
luozukai há 6 anos
ascendente
cometimento
9824c22da2
1 ficheiros alterados com 2 adições e 1 eliminações
  1. +2
    -1
      mallinkService/src/main/resources/mapper/WxBusinessMapper.xml

+ 2
- 1
mallinkService/src/main/resources/mapper/WxBusinessMapper.xml Ver ficheiro

@@ -168,7 +168,7 @@
left join wx_merchant_trade_daily mtd on mtd.merchant_id = m.id left join wx_merchant_trade_daily mtd on mtd.merchant_id = m.id
left join wx_merchant_shop wmt on wmt.merchant_id = m.id left join wx_merchant_shop wmt on wmt.merchant_id = m.id
left join wx_shop ws on(wmt.shop_id = ws.id) left join wx_shop ws on(wmt.shop_id = ws.id)
where m.business_id=#{id} and m.tenant_id=#{tenantId})
where m.business_id=#{id} and m.tenant_id=#{tenantId} and mtd.create_date between #{startdate} and #{enddate})
,2) devoteRate ,2) devoteRate


from wx_merchant m from wx_merchant m
@@ -176,6 +176,7 @@
left join wx_merchant_shop wmt on wmt.merchant_id = m.id left join wx_merchant_shop wmt on wmt.merchant_id = m.id
left join wx_shop ws on(wmt.shop_id = ws.id) left join wx_shop ws on(wmt.shop_id = ws.id)
where m.business_id=#{id} and m.tenant_id=#{tenantId} where m.business_id=#{id} and m.tenant_id=#{tenantId}
and mtd.create_date between #{startdate} and #{enddate}
group by m.id group by m.id
order by devoteRate desc order by devoteRate desc
</select> </select>


Carregando…
Cancelar
Guardar