From a855cc5534d240dfd1f74728b7b18af754554d70 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Thu, 17 Jun 2021 15:56:28 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/impl/DistributionServiceImpl.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java b/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java index 086977c..e7f941f 100644 --- a/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java @@ -468,7 +468,12 @@ public class DistributionServiceImpl extends DefaultBaseService implements IDist * 获取考试信息 */ query.put("examPlanIdList", distributionId); - List examPlanDTOS = examPlanService.list(query); + List examPlanDTOS = null; + try { + examPlanDTOS = examPlanService.list(query); + }catch (Exception e) { + e.printStackTrace(); + } query.remove("examPlanIdList"); int fieldTotalNumber = 0; for(ExamPlanDTO examPlanDTO : examPlanDTOS) {