|
@@ -127,7 +127,7 @@ public interface FsUserScrmMapper
|
|
|
@Update("update fs_user set pay_count=pay_count+1" +
|
|
@Update("update fs_user set pay_count=pay_count+1" +
|
|
|
" where user_id=#{userId}")
|
|
" where user_id=#{userId}")
|
|
|
int incPayCount(Long userId);
|
|
int incPayCount(Long userId);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 增加用户余额
|
|
* 增加用户余额
|
|
|
* @param userId 用户ID
|
|
* @param userId 用户ID
|
|
@@ -136,7 +136,7 @@ public interface FsUserScrmMapper
|
|
|
*/
|
|
*/
|
|
|
@Update("update fs_user set integral = IFNULL(integral, 0) + #{integral} where user_id = #{userId}")
|
|
@Update("update fs_user set integral = IFNULL(integral, 0) + #{integral} where user_id = #{userId}")
|
|
|
int incrIntegral(@Param("userId") Long userId, @Param("integral") BigDecimal integral);
|
|
int incrIntegral(@Param("userId") Long userId, @Param("integral") BigDecimal integral);
|
|
|
- @Select("select * from fs_user where phone=#{phone}")
|
|
|
|
|
|
|
+ @Select("select * from fs_user where phone=#{phone} and is_del =0")
|
|
|
FsUserScrm selectFsUserByPhone(String phone);
|
|
FsUserScrm selectFsUserByPhone(String phone);
|
|
|
|
|
|
|
|
/**
|
|
/**
|