diff --git a/src/main/java/com/example/demo/domain/entity/Role.java b/src/main/java/com/example/demo/domain/entity/Role.java
index 2d9d42d..affc418 100644
--- a/src/main/java/com/example/demo/domain/entity/Role.java
+++ b/src/main/java/com/example/demo/domain/entity/Role.java
@@ -17,7 +17,7 @@ public class Role implements Serializable {
private Integer id; // 角色id
private String roleName; // 角色名
private String roleKey; // 角色标识符
- private Integer priority;//优先级
+ // private Integer priority;//优先级
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
private Date createTime; // 创建时间
diff --git a/src/main/resources/mapper/RoleMapper.xml b/src/main/resources/mapper/RoleMapper.xml
index e8a7096..ec1ddda 100644
--- a/src/main/resources/mapper/RoleMapper.xml
+++ b/src/main/resources/mapper/RoleMapper.xml
@@ -7,9 +7,7 @@
role_name = #{roleName},
-
- priority = #{priority},
-
+
father_id = #{fatherId},
@@ -46,18 +44,18 @@
INSERT INTO role
(role_name,father_id, market)
- VALUES (#{roleName}, #{priority}, #{fatherId}, #{market})
+ VALUES (#{roleName}, #{fatherId}, #{market})