From b2fce0dc7dc4ea5dec9792a2bc3ceb9d33d6e07b Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期一, 04 九月 2023 13:59:52 +0800 Subject: [PATCH] 修改后台社区动态加载不出来 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngDistrictDO.java | 27 ++++++++++++--------------- 1 files changed, 12 insertions(+), 15 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngDistrictDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngDistrictDO.java index affd39a..61f7548 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngDistrictDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngDistrictDO.java @@ -3,34 +3,31 @@ import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; -import lombok.AllArgsConstructor; -import lombok.Builder; + import lombok.Data; -import lombok.NoArgsConstructor; -import lombok.experimental.Accessors; @Data @TableName(value = "com_mng_struct_area_district") public class ComMngDistrictDO { - /**自增 id*/ - @TableId(type = IdType.AUTO) - private Integer id; + /** 自增 id */ + @TableId(type = IdType.ASSIGN_ID) + private Long id; - /**区县名称*/ + /** 区县名称 */ private String districtName; - /**区县行政区划代码*/ + /** 区县行政区划代码 */ private Integer districtAdcode; - /**城市行政区划代码*/ + /** 城市行政区划代码 */ private Integer cityAdcode; - /**城市 id*/ - private Integer cityId; + /** 城市 id */ + private Long cityId; - /**省份行政区划代码*/ + /** 省份行政区划代码 */ private Integer provinceAdcode; - /**省份 id*/ - private Integer provinceId; + /** 省份 id */ + private Long provinceId; } \ No newline at end of file -- Gitblit v1.7.1