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/common/src/main/java/com/panzhihua/common/model/vos/community/screen/civil/CivilVillageStatisticsVO.java | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 47 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/screen/civil/CivilVillageStatisticsVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/screen/civil/CivilVillageStatisticsVO.java index c46e46f..8c35d36 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/screen/civil/CivilVillageStatisticsVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/screen/civil/CivilVillageStatisticsVO.java @@ -1,8 +1,14 @@ package com.panzhihua.common.model.vos.community.screen.civil; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; + +import com.panzhihua.common.model.vos.community.screen.index.IndexSpecialStatisticsVO; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; + +import java.util.List; @Data @ApiModel("民生统计小区列表返回参数") @@ -24,6 +30,46 @@ private String villageImages; @ApiModelProperty("小区id") - private String villageId; + @JsonSerialize(using = ToStringSerializer.class) + private Long villageId; + + @ApiModelProperty("总户数") + private Integer houseNum; + + @ApiModelProperty("总人数") + private Integer peopleNum; + + @ApiModelProperty("户籍人数") + private Integer registerNum; + + @ApiModelProperty("流动人数") + private Integer flowNum; + + @ApiModelProperty("楼栋长数量") + private Integer buildingPeopleNum; + + @ApiModelProperty("居民小组长数量") + private Integer smallHeadmanNum; + + @ApiModelProperty("党小组长数量") + private Integer partyPeopleNum; + + @ApiModelProperty("妇女小组长数量") + private Integer womanPeopleNum; + + @ApiModelProperty("卫生员数量") + private Integer hygienePeopleNum; + + @ApiModelProperty("安全员数量") + private Integer securityPeopleNum; + + @ApiModelProperty("监督员数量") + private Integer supervisePeopleNum; + + @ApiModelProperty("其他人员") + private Integer otherPeopleNum; + + @ApiModelProperty("特殊人群统计模块数据") + private List<IndexSpecialStatisticsVO> specialStatisticsList; } -- Gitblit v1.7.1