Commit 8a5d7637 authored by kongfm's avatar kongfm

Merge remote-tracking branch 'origin/developer' into developer

parents 03809c42 d93fdd09
...@@ -74,32 +74,32 @@ public class KeySiteExcleDto implements Serializable { ...@@ -74,32 +74,32 @@ public class KeySiteExcleDto implements Serializable {
@ApiModelProperty(value = "责任人身份证") @ApiModelProperty(value = "责任人身份证")
private String chargePersonId; private String chargePersonId;
@ExcelProperty(value = "确定重点防火部位的原因", index = 9) @ExcelProperty(value = "确定重点防火部位的原因", index = 7)
@ApiModelProperty(value = "确定重点防火部位的原因") @ApiModelProperty(value = "确定重点防火部位的原因")
private String keyPreventionReason; private String keyPreventionReason;
@ExcelProperty(value = "消防设施情况", index = 10) @ExcelProperty(value = "消防设施情况", index = 8)
@ExplicitConstraint(indexNum=11,source = {"有","无"}) @ExplicitConstraint(indexNum=11,source = {"有","无"})
@ApiModelProperty(value = "消防设施情况") @ApiModelProperty(value = "消防设施情况")
private String fireFacilitiesInfo; private String fireFacilitiesInfo;
@ExcelProperty(value = "防火标志设立情况", index = 11) @ExcelProperty(value = "防火标志设立情况", index = 9)
@ApiModelProperty(value = "防火标志设立情况") @ApiModelProperty(value = "防火标志设立情况")
private String firePreventionFlagName; private String firePreventionFlagName;
@ExcelProperty(value = "危险源", index = 12) @ExcelProperty(value = "危险源", index = 10)
@ApiModelProperty(value = "危险源") @ApiModelProperty(value = "危险源")
private String hazard; private String hazard;
@ExcelProperty(value = "消防安全管理措施", index = 13) @ExcelProperty(value = "消防安全管理措施", index = 11)
@ApiModelProperty(value = "消防安全管理措施") @ApiModelProperty(value = "消防安全管理措施")
private String safetyManagementMeasures; private String safetyManagementMeasures;
@ExcelProperty(value = "防范手段措施", index = 14) @ExcelProperty(value = "防范手段措施", index = 12)
@ApiModelProperty(value = "防范手段措施") @ApiModelProperty(value = "防范手段措施")
private String preventiveMeasures; private String preventiveMeasures;
@ExcelProperty(value = "备注", index = 15) @ExcelProperty(value = "备注", index = 13)
@ApiModelProperty(value = "备注") @ApiModelProperty(value = "备注")
private String remark; private String remark;
......
...@@ -347,9 +347,9 @@ public class ExcelServiceImpl { ...@@ -347,9 +347,9 @@ public class ExcelServiceImpl {
par.containsKey("useNature")?par.get("useNature").toString():null, par.containsKey("useNature")?par.get("useNature").toString():null,
par.containsKey("fireFacilitiesInfo")?par.get("fireFacilitiesInfo").toString():null, par.containsKey("fireFacilitiesInfo")?par.get("fireFacilitiesInfo").toString():null,
par.containsKey("bizOrgCode")? par.get("bizOrgCode").toString():null); par.containsKey("bizOrgCode")? par.get("bizOrgCode").toString():null);
}else{ }/*else{
keySiteDtoList = keySiteService.exportToExcel(null,null,null,null,null,null); keySiteDtoList = keySiteService.exportToExcel(null,null,null,null,null,null);
} }*/
ExcelUtil.createTemplate(response, excelDto.getFileName(), excelDto.getSheetName(), keySiteDtoList, ExcelUtil.createTemplate(response, excelDto.getFileName(), excelDto.getSheetName(), keySiteDtoList,
KeySiteExcleDto.class, null, false); KeySiteExcleDto.class, null, false);
break; break;
......
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