|
@@ -75,7 +75,7 @@ public class IndexBaseDto {
|
|
|
this.indexMonthData = indexMonthData;
|
|
|
if(!CollectionUtils.isEmpty(indexMonthData)){
|
|
|
BigDecimal total = indexMonthData.stream().map(IndexBaseMonthData::getTotalNum).reduce(BigDecimal.ZERO, BigDecimal::add);
|
|
|
- if(IndexDataType.ACTIVATION_RATE.equals(dataType)||IndexDataType.HOMEWORK_CREATE_RATE.equals(dataType)||IndexDataType.HOMEWORK_SUBMIT_RATE.equals(dataType)||IndexDataType.HOMEWORK_COMMENT_RATE.equals(dataType)){
|
|
|
+ if(IndexDataType.ACTIVATION_RATE.equals(dataType)){
|
|
|
if(total.compareTo(BigDecimal.ZERO)==0){
|
|
|
this.percent = BigDecimal.ZERO;
|
|
|
}else{
|