Skip to content

Commit

Permalink
fix: 修复修改邮箱、手机号返回影响行数数据类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmiaomiao authored and Charles7c committed Jun 11, 2024
1 parent 485d708 commit e6d7205
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ IPage<UserDetailResp> selectUserPage(@Param("page") IPage<UserDO> page,
* @return 影响行数
*/
@Select("UPDATE sys_user SET phone = #{phone} WHERE id = #{id}")
int updatePhone(@FieldEncrypt @Param("phone") String phone, @Param("id") Long id);
Integer updatePhone(@FieldEncrypt @Param("phone") String phone, @Param("id") Long id);

/**
* 修改邮箱
Expand All @@ -127,5 +127,5 @@ IPage<UserDetailResp> selectUserPage(@Param("page") IPage<UserDO> page,
* @return 影响行数
*/
@Select("UPDATE sys_user SET email = #{email} WHERE id = #{id}")
int updateEmail(@FieldEncrypt @Param("email") String email, @Param("id") Long id);
Integer updateEmail(@FieldEncrypt @Param("email") String email, @Param("id") Long id);
}

0 comments on commit e6d7205

Please sign in to comment.