从下都上 UserMapper //更新密码 int updatePassword(int id,String password); user-mapper.xml <update id="updatePassword"> update user set password = #{password} where id = #{id} </update> UserService //个人设置修改密码功能 public Map<String,Object> updatePassword(String password,Stri...