Kaynağa Gözat

fix card

release_toaliyun_real
lin 3 yıl önce
ebeveyn
işleme
7fca12346b
1 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. +5
    -5
      mallinkService/src/main/resources/mapper/WxMerchantSubsidyMapper.xml

+ 5
- 5
mallinkService/src/main/resources/mapper/WxMerchantSubsidyMapper.xml Dosyayı Görüntüle

@@ -175,8 +175,8 @@
<select id="sumByMerchantId" parameterType="com.iformall.domain.po.WxMerchantSubsidy" resultType="HashMap">
select merchant_id,
IFNULL(SUM(ms.`subsidy`), 0) as sum_subsidy,
IFNULL(SUM(ms.`real_subsidy`), 0) as sum_real_subsidy
IFNULL(SUM(`subsidy`), 0) as sum_subsidy,
IFNULL(SUM(`real_subsidy`), 0) as sum_real_subsidy
from wx_merchant_subsidy
<include refid="dynamicWhereConditions" />
group by merchant_id
@@ -184,9 +184,9 @@
<select id="sum" parameterType="com.iformall.domain.po.WxMerchantSubsidy" resultType="HashMap">
select
IFNULL(SUM(ms.`subsidy`), 0) as sum_subsidy,
IFNULL(SUM(ms.`real_subsidy`), 0) as sum_real_subsidy
from wx_merchant_subsidy
IFNULL(SUM(`subsidy`), 0) as sum_subsidy,
IFNULL(SUM(`real_subsidy`), 0) as sum_real_subsidy
from wx_merchant_subsidy
<include refid="dynamicWhereConditions" />
</select>



Yükleniyor…
İptal
Kaydet