From c27a685ed122e3f2934eba2c3d77bc2e1312a4cf Mon Sep 17 00:00:00 2001
From: 你好啊 <1536384743@qq.com>
Date: 星期五, 09 八月 2024 11:19:41 +0800
Subject: [PATCH] 修改当传入数据为空时,该=改null  为0

---
 north-glass-erp/src/main/java/com/example/erp/entity/userInfo/Role.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/entity/userInfo/Role.java b/north-glass-erp/src/main/java/com/example/erp/entity/userInfo/Role.java
index 6f7ecf1..03b49ac 100644
--- a/north-glass-erp/src/main/java/com/example/erp/entity/userInfo/Role.java
+++ b/north-glass-erp/src/main/java/com/example/erp/entity/userInfo/Role.java
@@ -7,6 +7,6 @@
 @Data
 public class Role {
     @TableId(type = IdType.AUTO)
-    private String id;
+    private Integer id;
     private String role;
 }

--
Gitblit v1.8.0