修改:运行图加载计划查询bug

This commit is contained in:
joylink_zhangsai 2021-06-17 14:59:22 +08:00
parent 6256f6b8b3
commit 7830e4ed63

View File

@ -77,8 +77,9 @@ public class RunPlanLoadVO {
this.id = runPlanLoad.getId(); this.id = runPlanLoad.getId();
this.mapId = runPlanLoad.getMapId(); this.mapId = runPlanLoad.getMapId();
this.templatePlanId = runPlanLoad.getTemplatePlanId(); this.templatePlanId = runPlanLoad.getTemplatePlanId();
this.loadTime =runPlanLoad.getLoadTime(); this.loadTime = runPlanLoad.getLoadTime();
this.loadRule = BusinessConsts.RunPlanLoadRule.valueOf(runPlanLoad.getLoadRule()); if (runPlanLoad.getLoadRule() != null)
this.loadRule = BusinessConsts.RunPlanLoadRule.valueOf(runPlanLoad.getLoadRule());
this.userId = runPlanLoad.getUserId(); this.userId = runPlanLoad.getUserId();
this.creatorId = runPlanLoad.getCreatorId(); this.creatorId = runPlanLoad.getCreatorId();
} }