From 8a737f5af40de7f45199268fa4001f4a4191dbac Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Tue, 15 Dec 2020 14:11:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B9=E6=B3=95=E5=90=8D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/club/joylink/rtss/services/ReleaseService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/club/joylink/rtss/services/ReleaseService.java b/src/main/java/club/joylink/rtss/services/ReleaseService.java index ba52274ab..6a6c72139 100644 --- a/src/main/java/club/joylink/rtss/services/ReleaseService.java +++ b/src/main/java/club/joylink/rtss/services/ReleaseService.java @@ -79,7 +79,7 @@ public class ReleaseService implements IReleaseService { releaseVO.setRealLineConfig(realLine); if (config.getRunPlan()) { - this.checkRunPlan(mapId); + this.confirmRunPlanExist(mapId); RunPlanTemplateExample runPlanTemplateExample = new RunPlanTemplateExample(); runPlanTemplateExample.createCriteria().andMapIdEqualTo(mapId); List runPlanTemplates = runPlanTemplateDAO.selectByExampleWithBLOBs(runPlanTemplateExample); @@ -337,7 +337,7 @@ public class ReleaseService implements IReleaseService { * 检查确认该地图的runPlanLoad存在,并且关联的runPlanTemplate也存在; * 检查确认该地图的schedulingPlan数据所关联的runPlanTemplate存在 */ - private void checkRunPlan(Long mapId) { + private void confirmRunPlanExist(Long mapId) { //确认runPlanLoad数据存在 RunPlanLoadExample example = new RunPlanLoadExample(); example.createCriteria().andMapIdEqualTo(mapId);