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

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

View File

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

View File

@ -329,13 +329,6 @@
WHERE tp.id = #{0} WHERE tp.id = #{0}
limit 1; limit 1;
</select> </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 id="findIdByPerformanceReportId" resultType="java.lang.String">
SELECT report.id SELECT report.id
FROM test_plan_report report FROM test_plan_report report

View File

@ -918,18 +918,6 @@ public class TestPlanService {
return issues; 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) { public List<MsExecResponseDTO> scenarioRunModeConfig(SchedulePlanScenarioExecuteRequest planScenarioExecuteRequest) {
Map<String, Map<String, String>> testPlanScenarioIdMap = planScenarioExecuteRequest.getTestPlanScenarioIDMap(); Map<String, Map<String, String>> testPlanScenarioIdMap = planScenarioExecuteRequest.getTestPlanScenarioIDMap();
List<MsExecResponseDTO> list = new LinkedList<>(); List<MsExecResponseDTO> list = new LinkedList<>();