|
@@ -163,9 +163,9 @@ public class MakrerApi {
|
|
|
levelStatDTOs.add(dto);
|
|
|
}
|
|
|
}
|
|
|
- long kdtotal = 0L,total = 0L;
|
|
|
- if(Objects.nonNull(future.get())){
|
|
|
- Map<String,Long> map = (Map<String, Long>) future.get();
|
|
|
+ long kdtotal = 0L, total = 0L;
|
|
|
+ if (Objects.nonNull(future.get())) {
|
|
|
+ Map<String, Long> map = (Map<String, Long>) future.get();
|
|
|
kdtotal = map.get("kdtotal");
|
|
|
total = map.get("total");
|
|
|
}
|
|
@@ -189,10 +189,6 @@ public class MakrerApi {
|
|
|
double gp = (double) o.getGcount() / finalTotal;
|
|
|
BigDecimal gbd = new BigDecimal(gp).setScale(3, RoundingMode.HALF_EVEN);
|
|
|
o.setGpercent(gbd.doubleValue());
|
|
|
-
|
|
|
-// int count = markTaskRepo.countByQuestionIdAndMarkerIdAndStageAndResult(questionId, marker.getId(), MarkStage.LEVEL.ordinal(), o.getId().toString(), batchNo);
|
|
|
-// o.setPercent(count == 0 ? 0 : o.getPercent());
|
|
|
-// o.setCount(count);
|
|
|
}
|
|
|
});
|
|
|
return levelStatDTOs;
|