fix(稽查稽查): 导出完善

This commit is contained in:
yjz
2023-12-19 11:57:16 +08:00
parent 7294f3a946
commit 8e8b76e8fb
2 changed files with 5 additions and 5 deletions
@@ -34,7 +34,7 @@ public class ExportDataWithDelayVo {
/** /**
* 稽查依据标准名称 * 稽查依据标准名称
*/ */
@Excel(name = "稽查依据标准名称", width = 16) @Excel(name = "稽查依据标准名称", width = 18)
@ApiModelProperty(value = "稽查依据标准名称") @ApiModelProperty(value = "稽查依据标准名称")
private String inspectName; private String inspectName;
@@ -49,7 +49,7 @@ public class ExportDataWithDelayVo {
/** /**
* 主责标准化工作组 * 主责标准化工作组
*/ */
@Excel(name = "主责标准化工作组", width = 15) @Excel(name = "主责标准化工作组", width = 18)
@ApiModelProperty(value = "主责标准化工作组") @ApiModelProperty(value = "主责标准化工作组")
private String standardizationWorkGroup; private String standardizationWorkGroup;
@@ -102,7 +102,7 @@ public class ExportDataWithDelayVo {
/** /**
* 实际稽查完成日期 * 实际稽查完成日期
*/ */
@Excel(name = "实际稽查完成日期", width = 16, format = "yyyy-MM-dd") @Excel(name = "实际稽查完成日期", width = 18, format = "yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value = "实际稽查完成日期") @ApiModelProperty(value = "实际稽查完成日期")
@@ -258,7 +258,7 @@ public class EnterpriseStandardInspectServiceImpl extends ServiceImpl<Enterprise
mv.addObject(CLASS, EnterpriseStandardInspectVo.class); mv.addObject(CLASS, EnterpriseStandardInspectVo.class);
//update-begin--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置-------------------- //update-begin--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置--------------------
ExportParams exportParams=new ExportParams(null, title); ExportParams exportParams=new ExportParams(null, title);
exportParams.setType(ExcelType.XSSF); exportParams.setType(ExcelType.HSSF);
//update-end--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置---------------------- //update-end--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置----------------------
mv.addObject(PARAMS,exportParams); mv.addObject(PARAMS,exportParams);
mv.addObject(NormalExcelConstants.DATA_LIST, exportList); mv.addObject(NormalExcelConstants.DATA_LIST, exportList);
@@ -302,7 +302,7 @@ public class EnterpriseStandardInspectServiceImpl extends ServiceImpl<Enterprise
mv.addObject(CLASS, ExportDataWithDelayVo.class); mv.addObject(CLASS, ExportDataWithDelayVo.class);
//update-begin--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置-------------------- //update-begin--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置--------------------
ExportParams exportParams=new ExportParams(null, title); ExportParams exportParams=new ExportParams(null, title);
exportParams.setType(ExcelType.XSSF); exportParams.setType(ExcelType.HSSF);
//update-end--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置---------------------- //update-end--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置----------------------
mv.addObject(PARAMS,exportParams); mv.addObject(PARAMS,exportParams);
mv.addObject(NormalExcelConstants.DATA_LIST, exportList); mv.addObject(NormalExcelConstants.DATA_LIST, exportList);