Commit f73d4950 authored by suhuiguang's avatar suhuiguang

1联调修改-防火监督

parent c89e4d85
...@@ -20,7 +20,7 @@ public class DangerDto implements Serializable { ...@@ -20,7 +20,7 @@ public class DangerDto implements Serializable {
/** /**
* 隐患名称 * 隐患名称
*/ */
private String name; private String dangerName;
/** /**
* 检查项记录id * 检查项记录id
......
...@@ -15,7 +15,7 @@ public class HiddenDangerExportDataDto { ...@@ -15,7 +15,7 @@ public class HiddenDangerExportDataDto {
* 隐患名称 * 隐患名称
*/ */
@ExcelProperty(value = "隐患名称", index = 0) @ExcelProperty(value = "隐患名称", index = 0)
private String name; private String dangerName;
/** /**
* 检查项名称 * 检查项名称
...@@ -64,7 +64,7 @@ public class HiddenDangerExportDataDto { ...@@ -64,7 +64,7 @@ public class HiddenDangerExportDataDto {
* 状态 * 状态
*/ */
@ExcelProperty(value = "状态", index = 8) @ExcelProperty(value = "状态", index = 8)
private String stateName; private String dangerStateName;
/** /**
* 隐患来源 * 隐患来源
......
...@@ -12,7 +12,7 @@ public class HiddenDangerImportDto { ...@@ -12,7 +12,7 @@ public class HiddenDangerImportDto {
* 隐患名称 * 隐患名称
*/ */
@Excel(name = "隐患名称", orderNum = "0") @Excel(name = "隐患名称", orderNum = "0")
private String name; private String dangerName;
/** /**
......
...@@ -19,7 +19,7 @@ public class HiddenDangerTemplateDto implements Serializable { ...@@ -19,7 +19,7 @@ public class HiddenDangerTemplateDto implements Serializable {
* 隐患名称 * 隐患名称
*/ */
@ExcelProperty(value = "隐患名称", index = 0) @ExcelProperty(value = "隐患名称", index = 0)
private String name; private String dangerName;
/** /**
* 检查项名称 * 检查项名称
...@@ -75,7 +75,7 @@ public class HiddenDangerTemplateDto implements Serializable { ...@@ -75,7 +75,7 @@ public class HiddenDangerTemplateDto implements Serializable {
*/ */
@ExcelIgnore @ExcelIgnore
@ExcelProperty(value = "状态", index = 8) @ExcelProperty(value = "状态", index = 8)
private String stateName; private String dangerStateName;
/** /**
* 隐患来源 * 隐患来源
......
...@@ -77,6 +77,7 @@ public class HiddenDangerServiceImpl implements IHiddenDangerService { ...@@ -77,6 +77,7 @@ public class HiddenDangerServiceImpl implements IHiddenDangerService {
exportDto.setCheckUserName(hiddenDangerDto != null ? hiddenDangerDto.getCheckUserName() : ""); exportDto.setCheckUserName(hiddenDangerDto != null ? hiddenDangerDto.getCheckUserName() : "");
exportDto.setPointName(hiddenDangerDto != null ? hiddenDangerDto.getPointName() : ""); exportDto.setPointName(hiddenDangerDto != null ? hiddenDangerDto.getPointName() : "");
exportDto.setInputItemName(hiddenDangerDto != null ? hiddenDangerDto.getInputItemName() : ""); exportDto.setInputItemName(hiddenDangerDto != null ? hiddenDangerDto.getInputItemName() : "");
exportDto.setDangerTypeName(hiddenDangerDto != null ? hiddenDangerDto.getDangerTypeName() : "");
return exportDto; return exportDto;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
} }
......
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