From 6f9a9bc78c4cf809da41b7cc020209118b8547e5 Mon Sep 17 00:00:00 2001 From: xueqingkun Date: Thu, 6 Jun 2024 17:06:30 +0800 Subject: [PATCH] =?UTF-8?q?1:=20=E5=88=A0=E9=99=A4vp=5Fask=5Ftemplate=5Fqu?= =?UTF-8?q?estion=5Flibrary=E4=B8=AD=E7=9A=84=E5=A4=9A=E4=BD=99=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/java/com/supervision/VecTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/virtual-patient-web/src/test/java/com/supervision/VecTest.java b/virtual-patient-web/src/test/java/com/supervision/VecTest.java index 1b329f5f..17fb40fc 100644 --- a/virtual-patient-web/src/test/java/com/supervision/VecTest.java +++ b/virtual-patient-web/src/test/java/com/supervision/VecTest.java @@ -438,11 +438,8 @@ public class VecTest { List> vecData = questionLibraries.stream().map(library -> { Map map = new HashMap<>(); map.put("questionCode", library.getId()); - if (StrUtil.isEmpty(library.getDefaultAnswer())) { - log.warn("defaultAnswer is empty . libraryId is :{}", library.getId()); - } List joinList = library.getQuestion().stream() - .map(question -> question + " " + library.getDefaultAnswer()).collect(Collectors.toList()); + .map(question -> question + " "/* + library.getDefaultAnswer()*/).collect(Collectors.toList()); map.put("questionList", joinList); return map; }).collect(Collectors.toList());