Commit 65b8f734 authored by 王果's avatar 王果

36671 子 【一张图替换站端系统】-自动化数据处理 / 数据同步:消防及运维人员

parent 83b10d74
......@@ -69,4 +69,10 @@ public class AdpterController {
public void systemExcel(HttpServletResponse response, String gatewayId) throws IOException {
adpterService.buildingExcel(response, gatewayId);
}
@ApiOperation(value = "人员信息")
@RequestMapping(value = "/personExcel", method = RequestMethod.POST)
public void personExcel(HttpServletResponse response) throws IOException {
adpterService.personExcel(response);
}
}
\ No newline at end of file
package com.yeejoin.amos.adpter.model;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class PersonExcelModel {
@ExcelProperty(value = "编号", index = 0)
private String code;
@ExcelProperty(value = "上级编号", index = 1)
private String parentCode;
@ExcelProperty(value = "对象类型", index = 2)
private String objType;
@ExcelProperty(value = "网关名称", index = 3)
private String gatewayName;
@ExcelProperty(value = "类型", index = 4)
private String type;
@ExcelProperty(value = "消防岗位", index = 5)
private String firePost;
@ExcelProperty(value = "姓名", index = 6)
private String name;
@ExcelProperty(value = "岗位", index = 7)
private String post;
@ExcelProperty(value = "电话", index = 8)
private String phone;
@ExcelProperty(value = "员工编号", index = 9)
private String num;
@ExcelProperty(value = "性别", index = 10)
private String gender;
@ExcelProperty(value = "证件类型", index = 11)
private String idType;
@ExcelProperty(value = "证件号码", index = 12)
private String idNum;
@ExcelProperty(value = "出生日期", index = 13)
private String birth;
@ExcelProperty(value = "岗位资质", index = 14)
private String qualification;
@ExcelProperty(value = "资质到期日期", index = 15)
private String qualificationExpDate;
@ExcelProperty(value = "是否进行安全培训", index = 16)
private String safetyTraining;
@ExcelProperty(value = "是否准入(外围人员)", index = 17)
private String admitted;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment