From 4647b9d7c30d0ff57c3612a5e6a2643bafaa44bc Mon Sep 17 00:00:00 2001 From: xueqingkun Date: Sun, 4 Feb 2024 10:37:33 +0800 Subject: [PATCH] =?UTF-8?q?manage:=20=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/AskQuestionLibraryManageServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtual-patient-manage/src/main/java/com/supervision/manage/service/impl/AskQuestionLibraryManageServiceImpl.java b/virtual-patient-manage/src/main/java/com/supervision/manage/service/impl/AskQuestionLibraryManageServiceImpl.java index c65cad1a..a3517b76 100644 --- a/virtual-patient-manage/src/main/java/com/supervision/manage/service/impl/AskQuestionLibraryManageServiceImpl.java +++ b/virtual-patient-manage/src/main/java/com/supervision/manage/service/impl/AskQuestionLibraryManageServiceImpl.java @@ -194,7 +194,7 @@ public class AskQuestionLibraryManageServiceImpl implements AskQuestionLibraryMa List errorList = uploadQuestionLibraryDTOS.stream() .filter(dto -> CollUtil.isNotEmpty(dto.getErrorCodeEnums())).collect(Collectors.toList()); - List> collect = errorList.stream().map(dto -> dto.toExcelMap()).collect(Collectors.toList()); + List> collect = errorList.stream().map(UploadQuestionLibraryDTO::toExcelMap).collect(Collectors.toList()); File templateFile = fileManageService.downloadFile(errorTemplateResourceId); try (ExcelWriter writer = ExcelUtil.getWriter(templateFile)){ writer.setHeaderAlias(UploadQuestionLibraryDTO.WRITE_HEADER_ALIAS);