From f1a4b363c60b9592b1b8807274c35233b1187928 Mon Sep 17 00:00:00 2001
From: 梁剑锋 <1822213252@qq.com>
Date: 星期二, 23 八月 2022 16:16:23 +0800
Subject: [PATCH] !219 修复点击删除后再点取消控制台报错 * 修复点击删除后再点取消控制台报错,并修改样式 * 修复取消控制台报错

---
 ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserRole.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserRole.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserRole.java
index d02bdfe..8d35437 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserRole.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysUserRole.java
@@ -1,24 +1,24 @@
 package com.ruoyi.system.domain;
 
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 import lombok.Data;
-import lombok.NoArgsConstructor;
-import lombok.experimental.Accessors;
 
 /**
  * 鐢ㄦ埛鍜岃鑹插叧鑱� sys_user_role
  *
- * @author ruoyi
+ * @author Lion Li
  */
 
 @Data
-@NoArgsConstructor
-@Accessors(chain = true)
 @TableName("sys_user_role")
 public class SysUserRole {
+
     /**
      * 鐢ㄦ埛ID
      */
+    @TableId(type = IdType.INPUT)
     private Long userId;
 
     /**

--
Gitblit v1.9.3