微调
This commit is contained in:
@@ -14,7 +14,7 @@ public class FormContentVO {
|
||||
|
||||
private String scriptName;
|
||||
|
||||
private String errorSysName;
|
||||
private String errorSysId;
|
||||
|
||||
private String dataRule;
|
||||
|
||||
|
||||
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user