普测测试管理详情调整

This commit is contained in:
2024-06-05 17:50:56 +08:00
parent a9028e046d
commit 910217cf2a

View File

@@ -173,8 +173,9 @@ public class WarningLeafletServiceImpl extends ServiceImpl<WarningLeafletMapper,
if(warningLeaflet.getProblemType().equals(ProblemTypeEnum.SITE_TEST.getCode())){ if(warningLeaflet.getProblemType().equals(ProblemTypeEnum.SITE_TEST.getCode())){
String problemId = warningLeaflet.getProblemId(); String problemId = warningLeaflet.getProblemId();
//查询谐波普测,获取该普测计划上传的文件 //查询谐波普测,获取该普测计划上传的文件
SupervisionGeneralSurveyPlanPO generalSurveyPlanPO = supervisionGeneralSurveyPlanPOService.getById(problemId); //查询到现场测试超标附件地址
vo.setProblemPath(generalSurveyPlanPO.getFilePath()); SurveyTest surveyTest = surveyTestService.getById(problemId);
vo.setProblemPath(surveyTest.getTestReport());
} }
return vo; return vo;
} }