fix: 88410 法规符合性评估库--导出文件有代码
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ public class LawsEvaluationNotMetController extends JeroController<LawsEvaluatio
|
||||
@RequiresPermissions("lawsEvaluationNotMet:export")
|
||||
@GetMapping(value = "/exportXls")
|
||||
public void exportXls(HttpServletResponse response, LawsEvaluationNotMetLibrary lawsEvaluationNotMet, HttpServletRequest req) {
|
||||
lawsEvaluationNotMetLibraryService.export(response, lawsEvaluationNotMet, "不符合项", "不符合项", req);
|
||||
lawsEvaluationNotMetLibraryService.export(response, lawsEvaluationNotMet, "不符合项库", "不符合项库", req);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+1
@@ -186,6 +186,7 @@ public class LawsConformityAssessmentLibraryServiceImpl extends ServiceImpl<Laws
|
||||
// 生成excel
|
||||
ExportParams exportParams = new ExportParams();
|
||||
exportParams.setType(ExcelType.HSSF);
|
||||
exportParams.setSheetName(sheetName);
|
||||
// 复制一份数据
|
||||
List<LawsConformityAssessmentLibraryExportVO> newRecordsExport = new ArrayList<>(recordsExport);
|
||||
Workbook workbook = ExcelExportUtil.exportExcel(exportParams, LawsConformityAssessmentLibraryExportVO.class, recordsExport);
|
||||
|
||||
+1
@@ -130,6 +130,7 @@ public class LawsEvaluationNotMetLibraryServiceImpl extends ServiceImpl<LawsEval
|
||||
// 生成excel
|
||||
ExportParams exportParams = new ExportParams();
|
||||
exportParams.setType(ExcelType.HSSF);
|
||||
exportParams.setSheetName(sheetName);
|
||||
// 复制一份数据
|
||||
List<LawsEvaluationNotMetLibrary> newRecordsExport = new ArrayList<>(records);
|
||||
Workbook workbook = ExcelExportUtil.exportExcel(exportParams, LawsEvaluationNotMetLibrary.class, records);
|
||||
|
||||
Reference in New Issue
Block a user