Commit 8f62e00c authored by 郭凡凡's avatar 郭凡凡

Merge remote-tracking branch 'origin/master'

parents 1ef25b02 fcb7189f
......@@ -8,7 +8,7 @@ public interface AnalysisConstant {
}
interface exportOcpTenantApiName{
String OCPTENANTAPI = "应用大事记.xls";
String OCPTENANTAPINAME = "应用大事记导出数据";
String OCPTENANT = "应用大事记.xls";
String OCPTENANTNAME = "应用大事记导出数据";
}
}
......@@ -118,4 +118,25 @@ public class PmsApiAudit {
@ApiModelProperty("创建者姓名")
private long apiUserName;
@ApiModelProperty("参数版本")
private String apiParamVersion;
@ApiModelProperty("参数分类out出参 in入参 ")
private String apiParamClassification;
@ApiModelProperty("参数排序")
private String apiParamOrderNo;
@ApiModelProperty("参数名称")
private String apiParamName;
@ApiModelProperty("参数值")
private String apiParamValue;
@ApiModelProperty("是否必须0:不必要 1必要")
private String isRequire;
@ApiModelProperty("参数类型")
private String apiParamType;
}
......@@ -46,9 +46,9 @@ public class PmsTenantAuditServiceImpl extends ServiceImpl<PmsTenantAuditMapper,
@Override
public void exportExcel(PmsTenantAudit pmsTenantAudit, HttpServletRequest request, HttpServletResponse response) {
List<PmsTenantAudit> otaListById = pmsTenantAuditMapper.versionId(pmsTenantAudit);
ExportParams param = new ExportParams(AnalysisConstant.exportOcpTenantApiName.OCPTENANTAPINAME,AnalysisConstant.exportOcpTenantApiName.OCPTENANTAPINAME);
ExportParams param = new ExportParams(AnalysisConstant.exportOcpTenantApiName.OCPTENANTNAME,AnalysisConstant.exportOcpTenantApiName.OCPTENANTNAME);
Workbook workbook = ExcelExportUtil.exportExcel(param, PmsTenantAudit.class,otaListById);
ExportUtils.exportExcel(response, AnalysisConstant.exportOcpTenantApiName.OCPTENANTAPINAME,workbook);
ExportUtils.exportExcel(response, AnalysisConstant.exportOcpTenantApiName.OCPTENANT,workbook);
}
@Override
......
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