|
@@ -285,8 +285,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="getRechargeByDateSum" resultType="java.util.Map" parameterType="com.game.business.dto.FinTranRecordDTO">
|
|
|
select
|
|
|
|
|
|
- case b.type
|
|
|
- when b.type is null then 4
|
|
|
+ case ifnull(b.type,-2)
|
|
|
+ when -2 then 4
|
|
|
when 1 then 8085
|
|
|
when 2 then 8086
|
|
|
when 3 then 8087
|
|
@@ -317,7 +317,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="beginTime != null and beginTime != '' and endTime != null and endTime != ''">
|
|
|
and (date_format(a.addtime, '%Y-%m-%d') >= #{beginTime} and date_format(a.addtime, '%Y-%m-%d') <= #{endTime})
|
|
|
</if>
|
|
|
- group by a.type
|
|
|
+ group by b.type
|
|
|
</select>
|
|
|
|
|
|
<select id="selectTranList" parameterType="com.game.business.dto.FinTranDto" resultType="com.game.business.vo.FinTranVo">
|