updateGameCount.sql 295 B

123456789101112
  1. /**
  2. 分享过用户增加 2次参与游戏时间
  3. */
  4. UPDATE `awards_user_info` SET `count` = `count` + 2 WHERE `is_share` = 1 and `count` < 4;
  5. /**
  6. 初始化用户增加 2次参与游戏时间
  7. */
  8. UPDATE `awards_user_info` SET `count` = `count` + 2 WHERE `is_share` = 0 and `count` < 3;