From 3432548c1a7eeac6ecfc71916ba34ae76cf32412 Mon Sep 17 00:00:00 2001
From: 64850858 <648540858@qq.com>
Date: Mon, 28 Jun 2021 15:54:50 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7=E6=9B=B4?=
=?UTF-8?q?=E6=96=B0sql=E9=94=99=E8=AF=AF=EF=BC=8Cffmpeg=E6=8B=89=E6=B5=81?=
=?UTF-8?q?=E4=BB=A3=E7=90=86=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4=E9=94=99?=
=?UTF-8?q?=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../genersoft/iot/vmp/storager/dao/UserMapper.java | 12 ++++++------
web_src/src/components/dialog/StreamProxyEdit.vue | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java
index f8507cb0..6ecc8280 100644
--- a/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java
+++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java
@@ -13,21 +13,21 @@ public interface UserMapper {
int add(User user);
@Update("UPDATE user " +
- "SET username=#{username}," +
- "password=#{password}," +
- "roleId=#{roleId}" +
+ "SET username=#{username}, " +
+ "password=#{password}, " +
+ "roleId=#{roleId} " +
"WHERE id=#{id}")
int update(User user);
@Delete("DELETE FROM user WHERE app=#{app} AND id=#{id}")
int delete(User user);
- @Select("select * FROM user WHERE username= #{username} AND password=#{password}")
+ @Select("select * FROM user WHERE username=#{username} AND password=#{password}")
User select(String username, String password);
- @Select("select * FROM user WHERE id= #{id}")
+ @Select("select * FROM user WHERE id=#{id}")
User selectById(int id);
- @Select("select * FROM user WHERE username= #{username}")
+ @Select("select * FROM user WHERE username=#{username}")
User getUserByUsername(String username);
}
diff --git a/web_src/src/components/dialog/StreamProxyEdit.vue b/web_src/src/components/dialog/StreamProxyEdit.vue
index f558ed64..e1d224a7 100644
--- a/web_src/src/components/dialog/StreamProxyEdit.vue
+++ b/web_src/src/components/dialog/StreamProxyEdit.vue
@@ -36,7 +36,7 @@
-
+