From f59ae61a06c5ca9421cac0b1f030586cab0e6cf8 Mon Sep 17 00:00:00 2001
From: wenyann <64353056+wenyann@users.noreply.github.com>
Date: Thu, 14 May 2020 16:32:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=BB=98=E8=AE=A4=E8=AF=AD?=
=?UTF-8?q?=E8=A8=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/io/metersphere/base/mapper/UserMapper.java | 2 --
.../java/io/metersphere/base/mapper/UserMapper.xml | 13 +------------
.../metersphere/base/mapper/ext/ExtUserMapper.java | 2 +-
.../metersphere/base/mapper/ext/ExtUserMapper.xml | 2 +-
.../io/metersphere/controller/LoginController.java | 4 ++--
.../java/io/metersphere/service/UserService.java | 4 ++--
frontend/src/login/Login.vue | 10 +++++++---
7 files changed, 14 insertions(+), 23 deletions(-)
diff --git a/backend/src/main/java/io/metersphere/base/mapper/UserMapper.java b/backend/src/main/java/io/metersphere/base/mapper/UserMapper.java
index 8e738d0d77..69d4f62258 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/UserMapper.java
+++ b/backend/src/main/java/io/metersphere/base/mapper/UserMapper.java
@@ -29,8 +29,6 @@ public interface UserMapper {
int updateByPrimaryKey(User record);
- int updatePassword(User record);
- String getDefaultlanguage(String paramKey);
}
\ No newline at end of file
diff --git a/backend/src/main/java/io/metersphere/base/mapper/UserMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/UserMapper.xml
index 43dfaa05ef..2e9797c759 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/UserMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/UserMapper.xml
@@ -303,16 +303,5 @@
phone = #{phone,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
-
-
- update user
- set
- password=#{password,jdbcType=VARCHAR},
- update_time = #{updateTime,jdbcType=BIGINT}
- where id=#{id,jdbcType=VARCHAR}
-
-
+
\ No newline at end of file
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 202d02d059..b3e7f4a225 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
@@ -12,5 +12,5 @@ public interface ExtUserMapper {
int updatePassword(User record);
- String getDefaultlanguage(String paramKey);
+ String getDefaultLanguage(String paramKey);
}
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 161c862d72..bb4c14a790 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
@@ -41,7 +41,7 @@
update_time = #{updateTime,jdbcType=BIGINT}
where id=#{id,jdbcType=VARCHAR}
-