瀏覽代碼

fix

release_toaliyun_real
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 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…
取消
儲存