dos 6 일 전
부모
커밋
84d4590111
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      game-business/src/main/resources/mapper/business/FinTranRecordMapper.xml

+ 7 - 7
game-business/src/main/resources/mapper/business/FinTranRecordMapper.xml

@@ -285,13 +285,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="getRechargeByDateSum" resultType="java.util.Map" parameterType="com.game.business.dto.FinTranRecordDTO">
         select
 
-        case ifnull(b.type,-2)
-        when -2  then 4
-        when 1 then 8085
-        when 2 then 8086
-        when 3 then 8087
-        when 4 then 8084
-        when 5 then 8088
+        case
+        when ifnull(b.type,-2) = -2 and a.type = 4  then 4
+        when ifnull(b.type,-2) = 1 then 8085
+        when ifnull(b.type,-2) = 2 then 8086
+        when ifnull(b.type,-2) = 3 then 8087
+        when ifnull(b.type,-2) = 4 then 8084
+        when ifnull(b.type,-2) = 5 then 8088
         else -1
         end as type,