fix:编辑报告

This commit is contained in:
2026-01-13 18:37:19 +08:00
parent 731ea866fe
commit 326c443515
2 changed files with 2 additions and 2 deletions

View File

@@ -273,7 +273,7 @@ public class SimulationReportTemplateServiceImpl extends ServiceImpl<SimulationR
public SdmResponse<ReportTemplateResp> queryReportTemplateInfo(String uuid) {
SimulationReportTemplate reportTemplate = this.lambdaQuery().eq(SimulationReportTemplate::getUuid, uuid).one();
ReportTemplateResp resp = new ReportTemplateResp();
resp.setTemplateName(reportTemplate.getTemplateName());
BeanUtils.copyProperties(reportTemplate, resp);
return SdmResponse.success(resp);
}

View File

@@ -33,7 +33,7 @@ public class SimulationReportFeignClientImpl implements ISimulationReportFeignCl
@Override
public SdmResponse<ReportTemplateResp> queryReportTemplateInfo(String uuid) {
SdmResponse response;
SdmResponse<ReportTemplateResp> response;
try {
response = reportFeignClient.queryReportTemplateInfo(uuid);
if (!response.isSuccess()) {