|
|
|
@@ -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 |
|
|
|
|