From 0479b679e36c5b423558873492242b26de396e67 Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Sun, 27 Dec 2020 22:31:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90role=E3=80=91=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=AE=9E=E4=BD=93=E7=9A=84=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/stylefeng/roses/kernel/role/modular/entity/SysRole.java | 3 +-- .../roses/kernel/role/modular/entity/SysRoleDataScope.java | 3 +-- .../roses/kernel/role/modular/entity/SysRoleResource.java | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRole.java b/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRole.java index 3d9753727..f5144dc61 100644 --- a/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRole.java +++ b/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRole.java @@ -45,8 +45,7 @@ public class SysRole extends BaseEntity { /** * 主键 */ - @TableId(type = IdType.ASSIGN_ID) - @TableField("role_id") + @TableId(value = "role_id", type = IdType.ASSIGN_ID) private Long roleId; /** diff --git a/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRoleDataScope.java b/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRoleDataScope.java index 096a9b8fc..637a9bd42 100644 --- a/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRoleDataScope.java +++ b/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRoleDataScope.java @@ -46,8 +46,7 @@ public class SysRoleDataScope extends BaseEntity { /** * 主键 */ - @TableId(type = IdType.ASSIGN_ID) - @TableField("role_data_scope_id") + @TableId(value = "role_data_scope_id", type = IdType.ASSIGN_ID) private Long roleDataScopeId; /** diff --git a/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRoleResource.java b/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRoleResource.java index b7f70babb..18a447bb8 100644 --- a/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRoleResource.java +++ b/kernel-s-system/system-business-role/src/main/java/cn/stylefeng/roses/kernel/role/modular/entity/SysRoleResource.java @@ -44,8 +44,7 @@ public class SysRoleResource extends BaseEntity { /** * 主键 */ - @TableId(type = IdType.ASSIGN_ID) - @TableField("role_resource_id") + @TableId(value = "role_resource_id", type = IdType.ASSIGN_ID) private Long roleResourceId; /**