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/partybuilding/PagePartyOrganizationVO.java | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/PagePartyOrganizationVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/PagePartyOrganizationVO.java index 7ee38ee..9c9851c 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/PagePartyOrganizationVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/PagePartyOrganizationVO.java @@ -1,8 +1,14 @@ package com.panzhihua.common.model.vos.partybuilding; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; + +import java.util.Date; +import java.util.List; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -35,4 +41,44 @@ @ApiModelProperty(value = "社区id", hidden = true) private Long communityId; + @ApiModelProperty(value = "社区id", hidden = true) + private List<Long> communityIds; + + @ApiModelProperty(value = "关键词") + private String keyWord; + + @ApiModelProperty(value = "党员类型(1.预备党员 2.正式党员)") + private Integer type; + + @ApiModelProperty(value = "报道单位id") + @JsonSerialize(using = ToStringSerializer.class) + private Long checkUnitId; + + @ApiModelProperty(value = "特长类别(1.体育类 2.舞蹈类 3.音乐类 4.美术类 5.其他)") + private Long specialtyCategory; + + @ApiModelProperty("开始时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date startTime; + + @ApiModelProperty("结束时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date endTime; + @ApiModelProperty(value = "特长类别") + private String specialtyName; + + @ApiModelProperty("归属区") + private String belongTo; + + private String areaCode; + + @ApiModelProperty("单位性质") + private String natureName; + + @ApiModelProperty("是否注册小程序(1.是 0.否)") + private Integer isRegister; + + @ApiModelProperty(value = "农行单位id集合") + private Long[] ids; + } -- Gitblit v1.7.1