fix(用例管理): 修复用例关联接口和场景报错问题
This commit is contained in:
parent
8e5acb0013
commit
bd43262720
|
@ -28,8 +28,10 @@ public interface ExtApiScenarioMapper {
|
||||||
|
|
||||||
List<ApiScenario> getTagsByIds(@Param("ids") List<String> ids, @Param("deleted") boolean deleted);
|
List<ApiScenario> getTagsByIds(@Param("ids") List<String> ids, @Param("deleted") boolean deleted);
|
||||||
|
|
||||||
|
@BaseConditionFilter
|
||||||
List<TestCaseProviderDTO> listByProviderRequest(@Param("table") String resourceType, @Param("sourceName") String sourceName, @Param("apiCaseColumnName") String apiCaseColumnName, @Param("request") TestCasePageProviderRequest request, @Param("deleted") boolean deleted);
|
List<TestCaseProviderDTO> listByProviderRequest(@Param("table") String resourceType, @Param("sourceName") String sourceName, @Param("apiCaseColumnName") String apiCaseColumnName, @Param("request") TestCasePageProviderRequest request, @Param("deleted") boolean deleted);
|
||||||
|
|
||||||
|
@BaseConditionFilter
|
||||||
List<ModuleCountDTO> countModuleIdByProviderRequest(@Param("table") String resourceType, @Param("sourceName") String sourceName, @Param("apiCaseColumnName") String apiCaseColumnName, @Param("request") TestCasePageProviderRequest request, @Param("deleted") boolean deleted);
|
List<ModuleCountDTO> countModuleIdByProviderRequest(@Param("table") String resourceType, @Param("sourceName") String sourceName, @Param("apiCaseColumnName") String apiCaseColumnName, @Param("request") TestCasePageProviderRequest request, @Param("deleted") boolean deleted);
|
||||||
|
|
||||||
List<BaseTreeNode> selectIdAndParentIdByProjectId(@Param("projectId") String projectId);
|
List<BaseTreeNode> selectIdAndParentIdByProjectId(@Param("projectId") String projectId);
|
||||||
|
|
|
@ -218,11 +218,11 @@
|
||||||
<property name="filter" value="request.filter"/>
|
<property name="filter" value="request.filter"/>
|
||||||
</include>
|
</include>
|
||||||
|
|
||||||
<if test="request.combine != null and request.combine != ''">
|
<if test="request.combineSearch != null and request.combineSearch != ''">
|
||||||
<include refid="combine">
|
<include refid="combine">
|
||||||
<property name="condition" value="request.combine"/>
|
<property name="combineSearch" value="request.combineSearch"/>
|
||||||
<property name="name" value="request.name"/>
|
<property name="name" value="request.name"/>
|
||||||
<property name="ObjectTags" value="request.combine.tags"/>
|
<property name="ObjectTags" value="request.combineSearch.tags"/>
|
||||||
</include>
|
</include>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,7 @@ public interface ExtApiTestCaseMapper {
|
||||||
|
|
||||||
List<String> getIdsByApiIds(@Param("ids") List<String> ids);
|
List<String> getIdsByApiIds(@Param("ids") List<String> ids);
|
||||||
|
|
||||||
|
@BaseConditionFilter
|
||||||
List<TestCaseProviderDTO> listByProviderRequest(@Param("table") String resourceType, @Param("sourceName") String sourceName, @Param("apiCaseColumnName") String apiCaseColumnName, @Param("request") TestCasePageProviderRequest request, @Param("deleted") boolean deleted);
|
List<TestCaseProviderDTO> listByProviderRequest(@Param("table") String resourceType, @Param("sourceName") String sourceName, @Param("apiCaseColumnName") String apiCaseColumnName, @Param("request") TestCasePageProviderRequest request, @Param("deleted") boolean deleted);
|
||||||
|
|
||||||
List<ModuleCountDTO> countModuleIdByProviderRequest(@Param("table") String resourceType, @Param("sourceName") String sourceName, @Param("apiCaseColumnName") String apiCaseColumnName, @Param("request") TestCasePageProviderRequest request, @Param("deleted") boolean deleted);
|
List<ModuleCountDTO> countModuleIdByProviderRequest(@Param("table") String resourceType, @Param("sourceName") String sourceName, @Param("apiCaseColumnName") String apiCaseColumnName, @Param("request") TestCasePageProviderRequest request, @Param("deleted") boolean deleted);
|
||||||
|
|
Loading…
Reference in New Issue