fix(接口测试): 修复CASE集成报告重命名不生效问题
--bug=1014449 --user=赵勇 【接口测试】测试报告用例集合case,修改测试用例报告名称,修改后名称未改变 https://www.tapd.cn/55049933/s/1192069
This commit is contained in:
parent
245b36a228
commit
ce1769545a
|
@ -959,7 +959,7 @@ public class ApiScenarioReportService {
|
|||
}
|
||||
|
||||
public void reName(ApiScenarioReport reportRequest) {
|
||||
if (StringUtils.equalsIgnoreCase(reportRequest.getReportType(), ReportTypeConstants.API_INDEPENDENT.name())) {
|
||||
if (StringUtils.equalsAnyIgnoreCase(reportRequest.getReportType(), ReportTypeConstants.API_INDEPENDENT.name(), ReportTypeConstants.API_INTEGRATED.name())) {
|
||||
ApiDefinitionExecResultWithBLOBs result = definitionExecResultMapper.selectByPrimaryKey(reportRequest.getId());
|
||||
if (result != null) {
|
||||
result.setName(reportRequest.getName());
|
||||
|
|
|
@ -223,7 +223,7 @@ export default {
|
|||
selectAll: false,
|
||||
unSelection: [],
|
||||
selectDataCounts: 0,
|
||||
screenHeight: 'calc(100vh - 200px)',
|
||||
screenHeight: 'calc(100vh - 160px)',
|
||||
trashActiveDom:'left'
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue