From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructAreaDistrictDO.java | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructAreaDistrictDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructAreaDistrictDO.java index 817a8de..ff6b7da 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructAreaDistrictDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructAreaDistrictDO.java @@ -1,11 +1,12 @@ package com.panzhihua.service_community.model.dos; +import java.io.Serializable; + import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; -import lombok.Data; -import java.io.Serializable; +import lombok.Data; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -22,8 +23,8 @@ /** * 自增 id */ - @TableId(type= IdType.AUTO) - private Integer id; + @TableId(type = IdType.ASSIGN_ID) + private Long id; /** * 区县名称 @@ -43,7 +44,7 @@ /** * 城市 id */ - private Integer cityId; + private Long cityId; /** * 省份行政区划代码 @@ -53,5 +54,5 @@ /** * 省份 id */ - private Integer provinceId; + private Long provinceId; } -- Gitblit v1.7.1