mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
refactor(接口测试): 执行历史增加字段
This commit is contained in:
parent
ae34ffe61f
commit
665aa4c57b
@ -30,6 +30,9 @@ public class ExecuteReportDTO implements Serializable {
|
||||
@Schema(description = "执行方式")
|
||||
private String triggerMode;
|
||||
|
||||
@Schema(description = "是否删除")
|
||||
private boolean deleted;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -458,7 +458,8 @@
|
||||
api_scenario_report.start_time,
|
||||
api_scenario_report.create_user,
|
||||
api_scenario_report.trigger_mode,
|
||||
api_scenario_report.test_plan_id
|
||||
api_scenario_report.test_plan_id,
|
||||
api_scenario_report.deleted
|
||||
from api_scenario_report
|
||||
left join api_scenario_record t1 on t1.api_scenario_report_id = api_scenario_report.id
|
||||
where
|
||||
|
@ -240,7 +240,8 @@
|
||||
api_report.start_time,
|
||||
api_report.create_user,
|
||||
api_report.trigger_mode,
|
||||
api_report.test_plan_id
|
||||
api_report.test_plan_id,
|
||||
api_report.deleted
|
||||
from api_report
|
||||
left join api_test_case_record atc on atc.api_report_id = api_report.id
|
||||
where
|
||||
|
@ -498,6 +498,7 @@ public class ApiTestCaseControllerTests extends BaseTest {
|
||||
ApiDefinition apiDefinition = apiDefinitionMapper.selectByPrimaryKey(apiTestCase.getApiDefinitionId());
|
||||
copyApiDebugDTO.setMethod(apiDefinition.getMethod());
|
||||
copyApiDebugDTO.setPath(apiDefinition.getPath());
|
||||
copyApiDebugDTO.setProtocol(apiDefinition.getProtocol());
|
||||
ApiTestCaseBlob apiTestCaseBlob = apiTestCaseBlobMapper.selectByPrimaryKey(apiTestCase.getId());
|
||||
ApiTestCaseFollowerExample example = new ApiTestCaseFollowerExample();
|
||||
example.createCriteria().andCaseIdEqualTo(apiTestCase.getId()).andUserIdEqualTo("admin");
|
||||
|
Loading…
Reference in New Issue
Block a user