修改密码
This commit is contained in:
parent
4a958d6f44
commit
c76a0ba941
|
@ -8,4 +8,5 @@ import java.util.List;
|
|||
public interface ExtUserMapper {
|
||||
|
||||
List<User> getUserList(@Param("userRequest") UserRequest request);
|
||||
int updatePassword(@Param("User")User record);
|
||||
}
|
||||
|
|
|
@ -32,5 +32,13 @@
|
|||
</if>
|
||||
</where>
|
||||
</select>
|
||||
<!--修改密码-->
|
||||
<update id="updatePassword" parameterType="io.metersphere.base.domain.User">
|
||||
update user
|
||||
set
|
||||
password=#{password,jdbcType=VARCHAR},
|
||||
update_time = #{updateTime,jdbcType=BIGINT}
|
||||
where id=#{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue