diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.java b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.java index 6e54df5e65..086e59a6b2 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.java +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.java @@ -11,6 +11,7 @@ import java.util.List; public interface ExtTestPlanLoadCaseMapper { List selectIdsNotInPlan(@Param("request") LoadCaseRequest request); + List selectTestPlanLoadCaseList(@Param("request") LoadCaseRequest request); List selectByIdIn(@Param("request") LoadCaseRequest request); @@ -26,15 +27,16 @@ public interface ExtTestPlanLoadCaseMapper { List selectForPlanReport(String planId); List getCases(@Param("planId") String planId, @Param("status") String status); - List getCasesByIds(@Param("ids") Collection ids, @Param("planId") String planId, @Param("status") String status); + + List getCasesByIds(@Param("ids") Collection ids, @Param("reportIds") Collection reportIds); List selectPlanIds(); List getIdsOrderByUpdateTime(@Param("planId") String planId); - Long getPreOrder(@Param("planId")String planId, @Param("baseOrder") Long baseOrder); + Long getPreOrder(@Param("planId") String planId, @Param("baseOrder") Long baseOrder); - Long getLastOrder(@Param("planId")String planId, @Param("baseOrder") Long baseOrder); + Long getLastOrder(@Param("planId") String planId, @Param("baseOrder") Long baseOrder); List selectIdByLoadCaseReportIdAndStatusIsRun(String reportId); diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml index 18b6fd8748..fdf674d572 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanLoadCaseMapper.xml @@ -345,17 +345,18 @@