方法名修改

This commit is contained in:
joylink_zhangsai 2020-12-15 14:11:09 +08:00
parent 8fccb0b712
commit 8a737f5af4

View File

@ -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<RunPlanTemplate> 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);