From 2e62ce3ffc62c57ac15d86984476394636ce41e3 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期三, 19 三月 2025 14:59:28 +0800 Subject: [PATCH] 赋码规则 --- system/src/main/java/com/ycl/system/domain/base/AbsEntity.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/src/main/java/com/ycl/system/domain/base/AbsEntity.java b/system/src/main/java/com/ycl/system/domain/base/AbsEntity.java index e2a9f06..3f3cca0 100644 --- a/system/src/main/java/com/ycl/system/domain/base/AbsEntity.java +++ b/system/src/main/java/com/ycl/system/domain/base/AbsEntity.java @@ -17,8 +17,8 @@ private static final long serialVersionUID = 1L; - @TableId(value = "id", type = IdType.ASSIGN_ID) - private Integer id; + @TableId(value = "id", type = IdType.AUTO) + private Long id; /** 鍒涘缓鏃堕棿 */ @TableField(value = "gmt_create", fill = FieldFill.INSERT) -- Gitblit v1.8.0