From ad2201f809f45cbbe2e63a829e4c93a9c7b7f67c Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期五, 11 十一月 2022 10:00:19 +0800 Subject: [PATCH] #feat 修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComOpsAdvDO.java | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComOpsAdvDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComOpsAdvDO.java index 6c132bd..e59fcdb 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComOpsAdvDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComOpsAdvDO.java @@ -1,10 +1,11 @@ package com.panzhihua.service_community.model.dos; -import com.baomidou.mybatisplus.annotation.*; -import lombok.Data; - import java.io.Serializable; import java.util.Date; + +import com.baomidou.mybatisplus.annotation.*; + +import lombok.Data; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -20,7 +21,7 @@ /** * 自增id */ - @TableId(type = IdType.AUTO) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** -- Gitblit v1.7.1