Compare commits

..

2 Commits

Author SHA1 Message Date
a84e8b9fe6 Merge pull request '【优化】优化自增id' (#1) from dev_20251028 into main
Reviewed-on: #1
2025-10-28 08:39:06 +00:00
f6bb392d49 【优化】优化自增id
Some checks failed
CI Build and Test / build (pull_request) Has been cancelled
2025-10-28 16:28:35 +08:00

View File

@@ -1,5 +1,7 @@
package com.corewing.app.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@@ -17,6 +19,7 @@ public class TutorialCategoryRelation implements Serializable {
/**
* id
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**