From 7830e4ed63544da3bfe79b916b2c939d3c365eb7 Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Thu, 17 Jun 2021 14:59:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E5=9B=BE=E5=8A=A0=E8=BD=BD=E8=AE=A1=E5=88=92=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../club/joylink/rtss/vo/client/runplan/RunPlanLoadVO.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/club/joylink/rtss/vo/client/runplan/RunPlanLoadVO.java b/src/main/java/club/joylink/rtss/vo/client/runplan/RunPlanLoadVO.java index f8bcabbe2..0bba17f55 100644 --- a/src/main/java/club/joylink/rtss/vo/client/runplan/RunPlanLoadVO.java +++ b/src/main/java/club/joylink/rtss/vo/client/runplan/RunPlanLoadVO.java @@ -77,8 +77,9 @@ public class RunPlanLoadVO { this.id = runPlanLoad.getId(); this.mapId = runPlanLoad.getMapId(); this.templatePlanId = runPlanLoad.getTemplatePlanId(); - this.loadTime =runPlanLoad.getLoadTime(); - this.loadRule = BusinessConsts.RunPlanLoadRule.valueOf(runPlanLoad.getLoadRule()); + this.loadTime = runPlanLoad.getLoadTime(); + if (runPlanLoad.getLoadRule() != null) + this.loadRule = BusinessConsts.RunPlanLoadRule.valueOf(runPlanLoad.getLoadRule()); this.userId = runPlanLoad.getUserId(); this.creatorId = runPlanLoad.getCreatorId(); }