12 changed files with 242 additions and 58 deletions
			
			
		| @ -0,0 +1,20 @@ | |||||
|  | package com.epmet.dto.result; | ||||
|  | 
 | ||||
|  | import lombok.Data; | ||||
|  | 
 | ||||
|  | import java.io.Serializable; | ||||
|  | 
 | ||||
|  | /** | ||||
|  |  * @Author zxc | ||||
|  |  * @DateTime 2022/3/21 15:11 | ||||
|  |  * @DESC | ||||
|  |  */ | ||||
|  | @Data | ||||
|  | public class CommunityListResultDTO implements Serializable { | ||||
|  | 
 | ||||
|  |     private static final long serialVersionUID = 4336149113821131764L; | ||||
|  | 
 | ||||
|  |     private String orgId; | ||||
|  | 
 | ||||
|  |     private String orgName; | ||||
|  | } | ||||
| @ -0,0 +1,48 @@ | |||||
|  | package com.epmet.dto.result; | ||||
|  | 
 | ||||
|  | import cn.afterturn.easypoi.excel.annotation.Excel; | ||||
|  | import cn.afterturn.easypoi.excel.annotation.ExcelCollection; | ||||
|  | import lombok.Data; | ||||
|  | 
 | ||||
|  | import java.io.Serializable; | ||||
|  | import java.util.ArrayList; | ||||
|  | import java.util.List; | ||||
|  | 
 | ||||
|  | /** | ||||
|  |  * @Author zxc | ||||
|  |  * @DateTime 2022/3/18 19:00 | ||||
|  |  * @DESC | ||||
|  |  */ | ||||
|  | @Data | ||||
|  | public class CollectListExcelResultDTO implements Serializable { | ||||
|  | 
 | ||||
|  |     private static final long serialVersionUID = -5659769436514116680L; | ||||
|  |     /** | ||||
|  |      * 户主姓名 | ||||
|  |      */ | ||||
|  |     @Excel(name = "户主姓名",width = 30, needMerge = true) | ||||
|  |     private String houseHolderName; | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * 居住地址 | ||||
|  |      */ | ||||
|  |     @Excel(name = "居住地址",width = 40, needMerge = true) | ||||
|  |     private String address; | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * 房屋类型,1:自有, 0:租住 | ||||
|  |      */ | ||||
|  |     @Excel(name = "房屋类型",replace = { "自有_1", "租住_2"}, width = 30, needMerge = true) | ||||
|  |     private String houseType; | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * 居住人数 | ||||
|  |      */ | ||||
|  |     @Excel(name = "居住成员人数",width = 30, needMerge = true) | ||||
|  |     private Integer totalResi; | ||||
|  | 
 | ||||
|  |     @ExcelCollection(name="家庭成员") | ||||
|  |     private List<CollectListMemberExcelResultDTO> listP = new ArrayList<>(); | ||||
|  | 
 | ||||
|  | 
 | ||||
|  | } | ||||
| @ -0,0 +1,48 @@ | |||||
|  | package com.epmet.dto.result; | ||||
|  | 
 | ||||
|  | import cn.afterturn.easypoi.excel.annotation.Excel; | ||||
|  | import lombok.Data; | ||||
|  | 
 | ||||
|  | import java.io.Serializable; | ||||
|  | 
 | ||||
|  | /** | ||||
|  |  * desc: | ||||
|  |  * | ||||
|  |  * @author: LiuJanJun | ||||
|  |  * @date: 2022/3/21 5:09 下午 | ||||
|  |  * @version: 1.0 | ||||
|  |  */ | ||||
|  | @Data | ||||
|  | public class CollectListMemberExcelResultDTO implements Serializable { | ||||
|  |     private static final long serialVersionUID = -4290962585956172531L; | ||||
|  |     /** | ||||
|  |      * 成员名字 | ||||
|  |      */ | ||||
|  |     @Excel(name = "成员姓名", width = 30) | ||||
|  |     private String memberName; | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * 成员身份证 | ||||
|  |      */ | ||||
|  |     @Excel(name = "成员身份证号", width = 30) | ||||
|  |     private String memberIdNum; | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * 成员电话 | ||||
|  |      */ | ||||
|  |     @Excel(name = "成员手机号", width = 30) | ||||
|  |     private String memberMobile; | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * 核酸检测次数 | ||||
|  |      */ | ||||
|  |     @Excel(name = "参加几轮核酸检测", width = 30) | ||||
|  |     private String heSuanCount = "0"; | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * 疫苗是否全程接种,1:全程接种,2:未全程接种,3:为接种 | ||||
|  |      */ | ||||
|  |     @Excel(name = "疫苗接种情况",replace = { "全程接种_1", "未全程接种_2", "未接种_3" }, width = 30) | ||||
|  |     private String ymjz; | ||||
|  | 
 | ||||
|  | } | ||||
					Loading…
					
					
				
		Reference in new issue