winter пре 2 година
родитељ
комит
06bb94df1f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxRaffleActivityRecordItemMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxRaffleActivityRecordItemMapper.xml Прегледај датотеку

@@ -108,7 +108,7 @@
</select> </select>
<select id="selectMerchantRecords" parameterType="com.iformall.domain.po.WxRaffleActivityRecordItem" resultType="java.util.HashMap"> <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 sum(merchant_cash_money) as merchantMenoy from wx_raffle_activity_record_item
<include refid="dynamicWhereConditions" /> <include refid="dynamicWhereConditions" />
group by merchant_id group by merchant_id


Loading…
Откажи
Сачувај