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/ComPbMemberExcelVO.java | 43 ++++++++++++++++--------------------------- 1 files changed, 16 insertions(+), 27 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/ComPbMemberExcelVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/ComPbMemberExcelVO.java index 46677b3..7f92136 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/ComPbMemberExcelVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/ComPbMemberExcelVO.java @@ -1,10 +1,6 @@ package com.panzhihua.common.model.vos.partybuilding; -import java.util.Date; - import com.alibaba.excel.annotation.ExcelProperty; - -import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; /** @@ -15,29 +11,22 @@ @Data public class ComPbMemberExcelVO { - @ExcelProperty(value = "账号", index = 0) + @ExcelProperty(value = "姓名",index = 0) + private String name; + @ExcelProperty(value = "常住社区",index = 1) + private String communityName; + @ExcelProperty(value = "小区院落",index = 2) + private String villageName; + @ExcelProperty(value = "工作单位",index = 4) + private String checkUnitName; + @ExcelProperty(value = "职能特长及服务意愿",index = 3) + private String specialtyName; + @ExcelProperty(value = "工作单位归属",index = 5) + private String belongTo; + @ExcelProperty(value = "服务社区",index = 6) + private String helpCommunityName; + + @ExcelProperty(value = "电话号码",index = 7) private String phone; - @ExcelProperty(value = "党员姓名", index = 1) - private String name; - - @ExcelProperty(value = "所属党组织", index = 2) - private String orgName; - - @ExcelProperty(value = "入党日期", index = 3) - @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") - private Date joinTime; - - @ExcelProperty(value = "转正日期", index = 4) - @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") - private Date employmentTime; - - @ExcelProperty(value = "报道单位", index = 5) - private String checkUnitName; - - @ExcelProperty(value = "党龄", index = 6) - private Integer partyAge; - - @ExcelProperty(value = "状态",index = 7) - private String status; } -- Gitblit v1.7.1