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; /**