|
|
@ -3,6 +3,7 @@ package com.zc.business.domain; |
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
import com.ruoyi.common.annotation.Excel; |
|
|
|
import com.zc.business.enums.NetworkQuality; |
|
|
|
import com.zc.business.enums.UniversalEnum; |
|
|
|
import org.springframework.format.annotation.DateTimeFormat; |
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.math.RoundingMode; |
|
|
@ -238,6 +239,10 @@ public class OnlineSum implements java.io.Serializable { |
|
|
|
this.totalOfflineCount = totalOfflineCount; |
|
|
|
} |
|
|
|
|
|
|
|
public static boolean isLossRatePositive(OnlineSum onlineSum) { |
|
|
|
return onlineSum.getLossRate() > UniversalEnum.ZERO.getNumber(); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
return "OnlineSum{" + |
|
|
|