This commit is contained in:
caozehui
2025-03-05 11:39:09 +08:00
parent 8e78ae4e4c
commit 273dd18405
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ public class FormContentVO {
private String scriptName;
private String errorSysName;
private String errorSysId;
private String dataRule;

View File

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