diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserMapper.java b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserMapper.java index 7820c7475d..8a40773405 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserMapper.java +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserMapper.java @@ -8,4 +8,5 @@ import java.util.List; public interface ExtUserMapper { List getUserList(@Param("userRequest") UserRequest request); + int updatePassword(@Param("User")User record); } diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserMapper.xml index eb7fa6fd55..edf0931e8f 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtUserMapper.xml @@ -32,5 +32,13 @@ + + + update user + set + password=#{password,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=BIGINT} + where id=#{id,jdbcType=VARCHAR} + \ No newline at end of file