nili 3 months ago
parent
commit
098541f3cd
  1. 2
      game-dao/src/main/java/awesome/group/game/dao/mapper/MatrixUserMapper.java

2
game-dao/src/main/java/awesome/group/game/dao/mapper/MatrixUserMapper.java

@ -13,7 +13,7 @@ public interface MatrixUserMapper extends BaseMapper<MatrixUser> {
@Select("select * from matrix_user where app_id = #{appId} and mobile = #{mobile}")
MatrixUser selectByAppIdAndMobile(int appId, String mobile);
@Select("select * from matrix_user where app_id = #{appId} and open_id = #{openId}")
@Select("select * from matrix_user where app_id = #{appId} and wx_open_id = #{openId}")
MatrixUser selectByAppIdAndOpenId(int appId, String openId);
@Update("update matrix_user set money = money + #{cent} where id = #{userId}")

Loading…
Cancel
Save