From 4fd5d868a3e3b28bf6f55a1aa12212db70e1550f Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期五, 07 四月 2023 18:27:34 +0800 Subject: [PATCH] 修改 微服务新增报错 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/entity/RentingHourseFile.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/entity/RentingHourseFile.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/entity/RentingHourseFile.java index 6506d93..0c7adee 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/entity/RentingHourseFile.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/entity/RentingHourseFile.java @@ -34,7 +34,7 @@ * 主键 */ @ApiModelProperty(value = "主键") - @TableId(type = IdType.INPUT) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** -- Gitblit v1.7.1