fix(工作台): 修复数据显示问题
This commit is contained in:
parent
a48513e6f7
commit
417d17f99c
|
@ -813,7 +813,9 @@
|
|||
FROM api_definition
|
||||
WHERE api_definition.deleted = false
|
||||
AND api_definition.project_id = #{projectId}
|
||||
AND api_definition.update_time BETWEEN #{startTime} AND #{endTime} order by api_definition.update_time desc
|
||||
AND api_definition.update_time BETWEEN #{startTime} AND #{endTime}
|
||||
AND api_definition.update_time > api_definition.create_time
|
||||
order by api_definition.update_time desc
|
||||
</select>
|
||||
|
||||
<select id="scenarioRefApiCount" resultType="io.metersphere.api.dto.definition.ApiRefSourceCountDTO">
|
||||
|
|
|
@ -1389,7 +1389,7 @@ public class DashboardService {
|
|||
List<NameCountDTO> nameCountDTOS = buildBugRetentionRateList(totalSize, statusSize);
|
||||
Map<String, List<NameCountDTO>> statusStatisticsMap = new HashMap<>();
|
||||
statusStatisticsMap.put("retentionRate", nameCountDTOS);
|
||||
Map<String, List<SelectOption>> bugMap = legacyBugList.stream().collect(Collectors.groupingBy(SelectOption::getValue));
|
||||
Map<String, List<SelectOption>> bugMap = legacyBugList.stream().collect(Collectors.groupingBy(SelectOption::getText));
|
||||
List<StatusPercentDTO> statusPercentList = new ArrayList<>();
|
||||
for (SelectOption selectOption : headerStatusOption) {
|
||||
StatusPercentDTO statusPercentDTO = new StatusPercentDTO();
|
||||
|
|
Loading…
Reference in New Issue