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/ComMngRealAssetsDO.java | 37 +++++++++++++++++++------------------ 1 files changed, 19 insertions(+), 18 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngRealAssetsDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngRealAssetsDO.java index a1a4621..3119db6 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngRealAssetsDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngRealAssetsDO.java @@ -1,11 +1,12 @@ package com.panzhihua.service_community.model.dos; -import com.baomidou.mybatisplus.annotation.*; -import lombok.Data; - import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; + +import com.baomidou.mybatisplus.annotation.*; + +import lombok.Data; /** * @description: 实有资产 @@ -16,47 +17,47 @@ @TableName(value = "com_mng_real_assets") public class ComMngRealAssetsDO implements Serializable { - /**主键*/ - @TableId(type = IdType.AUTO) + /** 主键 */ + @TableId(type = IdType.ASSIGN_ID) private Long id; - /**社区ID*/ + /** 社区ID */ private Long communityId; - /**资产名称*/ + /** 资产名称 */ private String name; - /**分类:1-建筑类 2-公共设施类*/ + /** 分类:1-建筑类 2-公共设施类 */ private Integer category; - /**建筑类型ID*/ + /** 建筑类型ID */ private Long buildTypeId; - /**楼层类型:1-高层 2-中层 3-底层*/ + /** 楼层类型:1-高层 2-中层 3-底层 */ private Integer floorType; - /**数量*/ + /** 数量 */ private Integer num; - /**面积*/ + /** 面积 */ private BigDecimal square; - /**省份行政区划代码*/ + /** 省份行政区划代码 */ private Integer provinceAdcode; - /**城市行政区划代码*/ + /** 城市行政区划代码 */ private Integer cityAdcode; - /**区县行政区划代码*/ + /** 区县行政区划代码 */ private Integer districtAdcode; - /**详细地址*/ + /** 详细地址 */ private String address; - /**创建时间*/ + /** 创建时间 */ @TableField(fill = FieldFill.INSERT) private Date createAt; - /**创建人*/ + /** 创建人 */ private Long createBy; } -- Gitblit v1.7.1