update 系统表生成id逻辑

This commit is contained in:
lijiarao
2023-10-08 10:55:05 +08:00
parent 8e45960c19
commit 392415d5b1
3 changed files with 3 additions and 3 deletions
@@ -27,7 +27,7 @@ public class SysDepart implements Serializable {
private static final long serialVersionUID = 1L;
/**ID,用机构编码作为ID*/
@TableId(type = IdType.INPUT)
@TableId(type = IdType.ASSIGN_UUID)
private String id;
/**父机构ID*/
private String parentId;
@@ -29,7 +29,7 @@ public class SysPermission implements Serializable {
/**
* id
*/
@TableId(type = IdType.INPUT)
@TableId(type = IdType.ASSIGN_UUID)
private String id;
/**
@@ -30,7 +30,7 @@ public class SysRole implements Serializable {
/**
* id
*/
@TableId(type = IdType.INPUT)
@TableId(type = IdType.ASSIGN_UUID)
private String id;
/**