方法名修改
This commit is contained in:
parent
8fccb0b712
commit
8a737f5af4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user