fix(接口测试): 修复场景列表keyword查询影响模块树的缺陷
https://www.tapd.cn/55049933/s/1505378
This commit is contained in:
parent
3d75aab508
commit
e6ce96f3a2
|
@ -249,6 +249,8 @@ public class ApiScenarioModuleService extends ModuleTreeService {
|
||||||
//查找根据moduleIds查找模块下的接口数量 查非delete状态的
|
//查找根据moduleIds查找模块下的接口数量 查非delete状态的
|
||||||
List<ModuleCountDTO> moduleCountDTOList = extApiScenarioMapper.countModuleIdByRequest(request, deleted);
|
List<ModuleCountDTO> moduleCountDTOList = extApiScenarioMapper.countModuleIdByRequest(request, deleted);
|
||||||
long allCount = getAllCount(moduleCountDTOList);
|
long allCount = getAllCount(moduleCountDTOList);
|
||||||
|
request.setKeyword(null);
|
||||||
|
request.setScenarioId(null);
|
||||||
Map<String, Long> moduleCountMap = getModuleCountMap(request, moduleCountDTOList);
|
Map<String, Long> moduleCountMap = getModuleCountMap(request, moduleCountDTOList);
|
||||||
moduleCountMap.put(DEBUG_MODULE_COUNT_ALL, allCount);
|
moduleCountMap.put(DEBUG_MODULE_COUNT_ALL, allCount);
|
||||||
return moduleCountMap;
|
return moduleCountMap;
|
||||||
|
|
Loading…
Reference in New Issue