linwe
2024-07-29 aeb7d068be92312dcdcea75e1240bcf2a78dd0fe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package org.springblade.modules.backblast.excel;
 
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springblade.common.excel.ExcelDictConverter;
import org.springblade.common.excel.ExcelDictItem;
import org.springblade.common.excel.ExcelDictItemLabel;
 
import java.util.Date;
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class BackblastPubRecordExcel {
 
 
 
    @ExcelProperty(value = "街道名称")
    private String townName;
 
 
    @ExcelProperty(value = "社区名称")
    private String communityName;
 
 
    @ExcelProperty(value = "派出所名称")
    private String pcsName;
 
 
    @ExcelProperty(value = "机构名称")
    private String deptName;
 
 
    @ExcelProperty(value = "小区名称")
    private String aoiName;
 
 
    @ExcelProperty(value = "房屋名称")
    private String houseName;
 
    @ExcelProperty(value = "宣传记录民警姓名")
    private String policeman;
 
    @ExcelProperty(value = "宣传记录民警电话")
    private String policemanPhone;
 
    @ExcelProperty(value = "宣传内容")
    private String pubContent;
 
    // @ExcelProperty(value = "宣传现场照片")
    // private String pubUrls;
 
    // @ExcelProperty(value = "网格编号")
    // private String gridCode;
 
    // @ExcelProperty(value = "警务网格编号")
    // private String jwGridCode;
 
    @ExcelProperty(value = "经度")
    private String lng;
 
    @ExcelProperty(value = "纬度")
    private String lat;
 
    @ExcelProperty(value = "地址")
    private String address;
 
    @ExcelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
 
    // @ExcelProperty(value = "是否下载国家反诈app  1:是  2:否")
    @ExcelProperty(value = "是否下载国家反诈app", converter = ExcelDictConverter.class)
    @ExcelDictItemLabel(type = "isFlag")
    @ExcelDictItem(type = "isFlag")
    private String isFzApp;
 
    // @ExcelProperty(value = "是否打开预警功能 1:是  2:否")
    @ExcelProperty(value = "是否打开预警功能", converter = ExcelDictConverter.class)
    @ExcelDictItem(type = "isFlag")
    @ExcelDictItemLabel(type = "isFlag")
    private String isOpenAlarm;
 
    @ExcelProperty(value = "是否接受过其他反诈宣防内容")
    private Integer isOther;
 
    @ExcelProperty(value = "其他防诈内容")
    private String otherId;
}