dos преди 1 седмица
родител
ревизия
6d4943ed16
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      game-business/src/main/resources/mapper/business/AppGameBettingMapper.xml

+ 1 - 1
game-business/src/main/resources/mapper/business/AppGameBettingMapper.xml

@@ -175,7 +175,7 @@
         ifnull(sum(case when betting_type = 0 then betting_amount else 0.00 end), 0.00) as diamondCoinSum,
         ifnull(sum(case when betting_type = 0 and is_winning = 1 then betting_amount * betting_multiple else 0.00 end), 0.00) as diamondCoinWin,
         ifnull(sum(case when betting_type = 0 and is_winning = 2 then betting_amount else 0.00 end), 0.00) as diamondCoinLose
-        from app_game_betting and game_id = #{gameId} and date_format(create_time, '%Y-%m-%d') = #{dateStr})
+        from app_game_betting where game_id = #{gameId} and date_format(create_time, '%Y-%m-%d') = #{dateStr}
     </select>
 
     <select id="getBettingAmountByGameDate" resultType="com.game.business.vo.AppUserGameBettingDetailsCountVO">