Browse Source

fix

release_toaliyun_real
winter 2 years ago
parent
commit
06bb94df1f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxRaffleActivityRecordItemMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxRaffleActivityRecordItemMapper.xml View File

@@ -108,7 +108,7 @@
</select>
<select id="selectMerchantRecords" parameterType="com.iformall.domain.po.WxRaffleActivityRecordItem" resultType="java.util.HashMap">
select merchant_id as merchantId,count(1) as orderCount, sum(cash_money) as allMoney,
select merchant_id as merchantId,count(distint record_id) as orderCount, sum(cash_money) as allMoney,
sum(merchant_cash_money) as merchantMenoy from wx_raffle_activity_record_item
<include refid="dynamicWhereConditions" />
group by merchant_id


Loading…
Cancel
Save