From 9b526947a1667f2acd7cef721324c627f13e5070 Mon Sep 17 00:00:00 2001 From: qi_liang Date: Tue, 18 Jun 2019 08:56:14 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/dev/jdbc.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/dev/jdbc.properties b/src/main/resources/dev/jdbc.properties index cf92f01..8741005 100644 --- a/src/main/resources/dev/jdbc.properties +++ b/src/main/resources/dev/jdbc.properties @@ -1,6 +1,6 @@ #--------- jdbc 配置--------- jdbc.driver=com.mysql.jdbc.Driver -jdbc.url=jdbc:mysql://localhost:3306/ssm?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8 +jdbc.url=jdbc:mysql://192.168.31.19:3306/ssm?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8 jdbc.user=root jdbc.password=mysql #--------数据库连接池配置 ------- From 418f1224962ce992bb26c0e53289392f951d22e2 Mon Sep 17 00:00:00 2001 From: qi_liang Date: Wed, 19 Jun 2019 19:41:06 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/lq/entity/SysPermission.java | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/lq/entity/SysPermission.java b/src/main/java/com/lq/entity/SysPermission.java index e648250..654adba 100755 --- a/src/main/java/com/lq/entity/SysPermission.java +++ b/src/main/java/com/lq/entity/SysPermission.java @@ -1,6 +1,5 @@ package com.lq.entity; -import com.lq.code.annotation.Length; import com.lq.code.entity.IdEntity; /** 权限表 @@ -11,9 +10,16 @@ public class SysPermission extends IdEntity{ /** * 权限名称 */ - - @Length(value = 80) private String name; + /** + * 权限类型 + */ + private int permissionType; + /** + * 权限键值 + */ + private String permissionKey; + public String getName() { return name; @@ -23,4 +29,19 @@ public class SysPermission extends IdEntity{ this.name = name; } + public int getPermissionType() { + return permissionType; + } + + public void setPermissionType(int permissionType) { + this.permissionType = permissionType; + } + + public String getPermissionKey() { + return permissionKey; + } + + public void setPermissionKey(String permissionKey) { + this.permissionKey = permissionKey; + } } From f106fbac18216ec484ed875fe983ce6c6b145b3b Mon Sep 17 00:00:00 2001 From: qi_liang Date: Thu, 20 Jun 2019 23:54:37 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/lq/entity/SysPermission.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/lq/entity/SysPermission.java b/src/main/java/com/lq/entity/SysPermission.java index 654adba..5de565f 100755 --- a/src/main/java/com/lq/entity/SysPermission.java +++ b/src/main/java/com/lq/entity/SysPermission.java @@ -15,7 +15,7 @@ public class SysPermission extends IdEntity{ * 权限类型 */ private int permissionType; - /** + /**· * 权限键值 */ private String permissionKey;