diff --git a/detection/src/main/java/com/njcn/gather/result/pojo/vo/FormContentVO.java b/detection/src/main/java/com/njcn/gather/result/pojo/vo/FormContentVO.java index cca78a52..0222497a 100644 --- a/detection/src/main/java/com/njcn/gather/result/pojo/vo/FormContentVO.java +++ b/detection/src/main/java/com/njcn/gather/result/pojo/vo/FormContentVO.java @@ -14,7 +14,7 @@ public class FormContentVO { private String scriptName; - private String errorSysName; + private String errorSysId; private String dataRule; diff --git a/detection/src/main/java/com/njcn/gather/result/service/impl/ResultServiceImpl.java b/detection/src/main/java/com/njcn/gather/result/service/impl/ResultServiceImpl.java index 6dc6a005..2ec0ff2e 100644 --- a/detection/src/main/java/com/njcn/gather/result/service/impl/ResultServiceImpl.java +++ b/detection/src/main/java/com/njcn/gather/result/service/impl/ResultServiceImpl.java @@ -71,13 +71,13 @@ public class ResultServiceImpl implements IResultService { public FormContentVO getFormContent(ResultParam.QueryParam queryParam) { FormContentVO formContentVO = new FormContentVO(); AdPlan plan = adPlanService.getById(queryParam.getPlanId()); + formContentVO.setErrorSysId(plan.getErrorSysId()); String scriptId = null; if (ObjectUtil.isNotNull(plan)) { scriptId = plan.getScriptId(); adPlanService.visualize(Collections.singletonList(plan)); } formContentVO.setScriptName(plan.getScriptId()); - formContentVO.setErrorSysName(plan.getErrorSysId()); formContentVO.setDataRule(sysTestConfigService.getConfig().getDataRule()); formContentVO.setDeviceName(pqDevService.getById(queryParam.getDeviceId()).getName());