mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 12:39:05 +08:00
🐛 Fixing a bug. 修复变更主键策略为ASSIGN_ID后用户创建失败以及无法Excel导出的问题
This commit is contained in:
1 parent
1b0685a4d2
commit
7d0e1ddfed
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -45,7 +45,7 @@ public class SysUser implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(value = "user_id", type = IdType.AUTO)
|
||||
@TableId(value = "user_id", type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Long userId;
|
||||
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ public class UserExcelVO implements Serializable {
|
||||
* 主键ID
|
||||
*/
|
||||
@ExcelProperty("用户编号")
|
||||
private Integer userId;
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
|
||||
Reference in new issue
Block a user