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