refactor(测试跟踪): 删除无用代码

This commit is contained in:
chenjianxing 2022-07-25 19:01:52 +08:00 committed by jianxing
parent 1409e5c468
commit a8fb2d1017
3 changed files with 0 additions and 21 deletions

View File

@ -31,8 +31,6 @@ public interface ExtTestPlanMapper {
String findTestProjectNameByTestPlanID(String testPlanId);
String findScheduleCreateUserById(String testPlanId);
List<String> findIdByPerformanceReportId(String reportId);
List<TestPlan> listRecent(@Param("userId") String userId, @Param("projectId") String currentProjectId);

View File

@ -329,13 +329,6 @@
WHERE tp.id = #{0}
limit 1;
</select>
<select id="findScheduleCreateUserById" resultType="java.lang.String">
SELECT user_id
FROM `schedule`
WHERE resource_id = #{0}
limit 1;
</select>
<select id="findIdByPerformanceReportId" resultType="java.lang.String">
SELECT report.id
FROM test_plan_report report

View File

@ -918,18 +918,6 @@ public class TestPlanService {
return issues;
}
public List<TestPlanDTO> selectTestPlanByRelevancy(QueryTestPlanRequest params) {
return extTestPlanMapper.selectTestPlanByRelevancy(params);
}
public String findTestProjectNameByTestPlanID(String testPlanId) {
return extTestPlanMapper.findTestProjectNameByTestPlanID(testPlanId);
}
public String findScheduleCreateUserById(String testPlanId) {
return extTestPlanMapper.findScheduleCreateUserById(testPlanId);
}
public List<MsExecResponseDTO> scenarioRunModeConfig(SchedulePlanScenarioExecuteRequest planScenarioExecuteRequest) {
Map<String, Map<String, String>> testPlanScenarioIdMap = planScenarioExecuteRequest.getTestPlanScenarioIDMap();
List<MsExecResponseDTO> list = new LinkedList<>();