fix:编辑报告
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user