From 764d883b5ea3bdc06abbec548b6df0511e567978 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Tue, 03 Sep 2024 09:46:05 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/binlog' into binlog
---
src/main/java/org/springblade/modules/disputeRecord/excel/ExportDisputeRecordExcel.java | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 158 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/disputeRecord/excel/ExportDisputeRecordExcel.java b/src/main/java/org/springblade/modules/disputeRecord/excel/ExportDisputeRecordExcel.java
new file mode 100644
index 0000000..1455a29
--- /dev/null
+++ b/src/main/java/org/springblade/modules/disputeRecord/excel/ExportDisputeRecordExcel.java
@@ -0,0 +1,158 @@
+package org.springblade.modules.disputeRecord.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 io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springblade.common.excel.ExcelDictConverter;
+import org.springblade.common.excel.ExcelDictItem;
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * DisputeRecordExcel
+ * 矛盾纠纷事件
+ * @author Chill
+ */
+@Data
+@ColumnWidth(25)
+@HeadRowHeight(20)
+@ContentRowHeight(18)
+public class ExportDisputeRecordExcel implements Serializable {
+
+ private static final long serialVersionUID = 2L;
+
+ /** 事发地址 */
+ @ExcelProperty( "事发地址")
+ private String address;
+// /**
+// * 事发经度
+// */
+// @ExcelProperty( "事发经度")
+// private String lng;
+// /**
+// * 事发纬度
+// */
+// @ExcelProperty( "事发纬度")
+// private String lat;
+ /**
+ * 事发时间
+ */
+ @ApiModelProperty(value = "创建时间", example = "")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+ @ExcelProperty( "事发时间")
+ private Date eventTime;
+
+ /**
+ * 纠纷方1姓名
+ */
+ @ApiModelProperty(value = "纠纷方1姓名")
+ @ExcelProperty( "纠纷方1姓名")
+ private String nameOne;
+ /**
+ * 当事人1性别
+ */
+ @ApiModelProperty(value = "当事人1性别")
+ @ExcelProperty( "当事人1性别(男/女)")
+ private String genderOne;
+ /**
+ * 纠纷方1电话
+ */
+ @ApiModelProperty(value = "纠纷方1电话")
+ @ExcelProperty( "纠纷方1电话")
+ private String phoneOne;
+ /**
+ * 纠纷方1身份证号码
+ */
+ @ApiModelProperty(value = "纠纷方1身份证号码")
+ @ExcelProperty( "纠纷方1身份证号码")
+ private String idCardOne;
+ /**
+ * 纠纷方2姓名
+ */
+ @ApiModelProperty(value = "纠纷方2姓名")
+ @ExcelProperty( "纠纷方2姓名")
+ private String nameTwo;
+ /**
+ * 当事人2性别
+ */
+ @ApiModelProperty(value = "当事人2性别")
+ @ExcelProperty( "当事人2性别(男/女)")
+ private String genderTwo;
+ /**
+ * 纠纷方2电话
+ */
+ @ApiModelProperty(value = "纠纷方2电话")
+ @ExcelProperty( "纠纷方2电话")
+ private String phoneTwo;
+ /**
+ * 纠纷方2身份证号码
+ */
+ @ApiModelProperty(value = "纠纷方2身份证号码")
+ @ExcelProperty( "纠纷方2身份证号码")
+ private String idCardTwo;
+
+ /**
+ * 纠纷类型 业务字典:disputeType
+ */
+ @ApiModelProperty(value = "纠纷类型 业务字典:disputeType")
+ @ExcelProperty( value = "纠纷类型(家庭婚恋纠纷/邻里纠纷/劳务劳资纠纷/经济纠纷/消防纠纷/医疗纠纷/交通纠纷/其他纠纷)",converter = ExcelDictConverter.class)
+ @ExcelDictItem(type = "disputeType")
+ private String disputeType;
+ /**
+ * 纠纷内容
+ */
+ @ApiModelProperty(value = "纠纷内容")
+ @ExcelProperty( "纠纷内容")
+ private String disputeContent;
+ /**
+ * 0:否 1:是 是否受伤
+ */
+ @ApiModelProperty(value = "0:否 1:是 是否受伤 ")
+ @ExcelProperty( "是否受伤(是/否)")
+ private String injuryFlag;
+ /**
+ * 受伤情况描述
+ */
+ @ApiModelProperty(value = "受伤情况描述")
+ @ExcelProperty( "受伤情况描述")
+ private String injuryDesc;
+ /**
+ * 报警次数
+ */
+ @ApiModelProperty(value = "报警次数")
+ @ExcelProperty( "报警次数")
+ private Integer alarmNum;
+ /**
+ * 信息来源:1:群众报警 2:e呼即办推送 3:走访发现 业务字典:disputeSource
+ */
+ @ApiModelProperty(value = "信息来源 业务字典:disputeSource")
+ @ExcelProperty( value = "信息来源(群众报警/e呼即办推送/走访发现/)",converter = ExcelDictConverter.class)
+ @ExcelDictItem(type = "disputeSource")
+ private String source;
+ /**
+ * 处理结果 1:已化解 2:未化解 3:移送e呼即办
+ */
+ @ApiModelProperty(value = "处理结果 1:已化解 2:未化解 3:移送e呼即办")
+ @ExcelProperty( value = "处理结果(已化解/未化解/移送e呼即办)")
+ private String handleResult;
+
+
+ /**
+ * 乡镇名称
+ */
+ @ApiModelProperty(value = "乡镇名称", example = "")
+ @ExcelProperty( value = "地区")
+ private String townName;
+
+ /**
+ * 派出所名称
+ */
+ @ApiModelProperty(value = "派出所名称", example = "")
+ @ExcelProperty( value = "辖区派出所")
+ private String pcsName;
+}
+
--
Gitblit v1.9.3