fix(测试跟踪): 修复首页数据展示
This commit is contained in:
parent
d8dd87f356
commit
6351bd9f26
|
@ -6,7 +6,7 @@ public class TrackCount {
|
||||||
public static final String P2 = "P2";
|
public static final String P2 = "P2";
|
||||||
public static final String P3 = "P3";
|
public static final String P3 = "P3";
|
||||||
|
|
||||||
public static final String API = "api";
|
public static final String TESTCASE = "testcase";
|
||||||
public static final String PERFORMANCE = "performance";
|
public static final String PERFORMANCE = "performance";
|
||||||
public static final String AUTOMATION = "automation";
|
public static final String AUTOMATION = "automation";
|
||||||
}
|
}
|
||||||
|
|
|
@ -145,7 +145,7 @@ public class TrackStatisticsDTO {
|
||||||
public void countRelevance(List<TrackCountResult> relevanceResults) {
|
public void countRelevance(List<TrackCountResult> relevanceResults) {
|
||||||
for (TrackCountResult countResult : relevanceResults) {
|
for (TrackCountResult countResult : relevanceResults) {
|
||||||
switch (countResult.getGroupField()){
|
switch (countResult.getGroupField()){
|
||||||
case TrackCount.API:
|
case TrackCount.TESTCASE:
|
||||||
this.apiCaseCount += countResult.getCountNumber();
|
this.apiCaseCount += countResult.getCountNumber();
|
||||||
this.allRelevanceCaseCount += countResult.getCountNumber();
|
this.allRelevanceCaseCount += countResult.getCountNumber();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue