feat(工作台): 接口数量统计数据返回顺序调整
This commit is contained in:
parent
73f0a03068
commit
35af224764
|
@ -22,6 +22,12 @@ api_management.scenarioPassRate=场景通过率
|
||||||
api_management.passCount=已通过
|
api_management.passCount=已通过
|
||||||
api_management.unPassCount=未通过
|
api_management.unPassCount=未通过
|
||||||
|
|
||||||
|
bug_management.retentionRate=遗留率
|
||||||
|
bug_management.totalCount=缺陷总数
|
||||||
|
bug_management.retentionCount=遗留缺陷数
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -21,3 +21,7 @@ api_management.scenarioExecRate=Scenario execution rate
|
||||||
api_management.scenarioPassRate=Scenario pass rate
|
api_management.scenarioPassRate=Scenario pass rate
|
||||||
api_management.passCount=Passed
|
api_management.passCount=Passed
|
||||||
api_management.unPassCount=Un pass
|
api_management.unPassCount=Un pass
|
||||||
|
|
||||||
|
bug_management.retentionRate=Retention rate
|
||||||
|
bug_management.totalCount=Bug total count
|
||||||
|
bug_management.retentionCount=Retention count
|
||||||
|
|
|
@ -21,3 +21,8 @@ api_management.scenarioExecRate=场景执行率
|
||||||
api_management.scenarioPassRate=场景通过率
|
api_management.scenarioPassRate=场景通过率
|
||||||
api_management.passCount=已通过
|
api_management.passCount=已通过
|
||||||
api_management.unPassCount=未通过
|
api_management.unPassCount=未通过
|
||||||
|
|
||||||
|
|
||||||
|
bug_management.retentionRate=遗留率
|
||||||
|
bug_management.totalCount=缺陷总数
|
||||||
|
bug_management.retentionCount=遗留缺陷数
|
|
@ -901,11 +901,11 @@ public class DashboardService {
|
||||||
NameCountDTO processDTO = getNameCountDTO(CollectionUtils.isEmpty(processList) ? 0 : processList.size(), Translator.get("api_definition.status.ongoing"));
|
NameCountDTO processDTO = getNameCountDTO(CollectionUtils.isEmpty(processList) ? 0 : processList.size(), Translator.get("api_definition.status.ongoing"));
|
||||||
NameCountDTO deprecateDTO = getNameCountDTO(CollectionUtils.isEmpty(deprecatedList) ? 0 : deprecatedList.size(), Translator.get("api_definition.status.abandoned"));
|
NameCountDTO deprecateDTO = getNameCountDTO(CollectionUtils.isEmpty(deprecatedList) ? 0 : deprecatedList.size(), Translator.get("api_definition.status.abandoned"));
|
||||||
NameCountDTO debugDTO = getNameCountDTO(CollectionUtils.isEmpty(debugList) ? 0 : debugList.size(), Translator.get("api_definition.status.continuous"));
|
NameCountDTO debugDTO = getNameCountDTO(CollectionUtils.isEmpty(debugList) ? 0 : debugList.size(), Translator.get("api_definition.status.continuous"));
|
||||||
|
nameCountDTOS.add(completionRate);
|
||||||
|
nameCountDTOS.add(doneDTO);
|
||||||
|
nameCountDTOS.add(processDTO);
|
||||||
nameCountDTOS.add(debugDTO);
|
nameCountDTOS.add(debugDTO);
|
||||||
nameCountDTOS.add(deprecateDTO);
|
nameCountDTOS.add(deprecateDTO);
|
||||||
nameCountDTOS.add(processDTO);
|
|
||||||
nameCountDTOS.add(doneDTO);
|
|
||||||
nameCountDTOS.add(completionRate);
|
|
||||||
Map<String, List<NameCountDTO>> statusStatisticsMap = new HashMap<>();
|
Map<String, List<NameCountDTO>> statusStatisticsMap = new HashMap<>();
|
||||||
statusStatisticsMap.put("completionRate", nameCountDTOS);
|
statusStatisticsMap.put("completionRate", nameCountDTOS);
|
||||||
statisticsDTO.setStatusPercentList(statusPercentList);
|
statisticsDTO.setStatusPercentList(statusPercentList);
|
||||||
|
|
Loading…
Reference in New Issue