2 次代码提交 c2fd046c5e ... 9fe79e9d2f

作者 SHA1 备注 提交日期
  dos 9fe79e9d2f Merge remote-tracking branch 'origin/master' 1 周之前
  dos 6d4943ed16 修复sql问题 1 周之前
共有 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">