Sfoglia il codice sorgente

debug 驾驶舱算法

tags/24080901
PoffyZhang 1 anno fa
parent
commit
3ea84978c5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/dashboard/handle/CockpitStatsHandler.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/dashboard/handle/CockpitStatsHandler.java Vedi File

@@ -189,7 +189,7 @@ public class CockpitStatsHandler {
CockpitStatsVO.SafetyInput safetyInput = new CockpitStatsVO.SafetyInput();
safetyInput.setYear(c.getYear());
safetyInput.setRate(Objects.nonNull(c.getMonitorDeclaredAmount()) && c.getMonitorDeclaredAmount().compareTo(BigDecimal.ZERO) > 0 ?
c.getMonitorSafetyInputAmount().divide(c.getMonitorDeclaredAmount(),2, RoundingMode.CEILING): BigDecimal.ZERO);
c.getMonitorSafetyInputAmount().multiply(BigDecimal.valueOf(100)).divide(c.getMonitorDeclaredAmount(),2, RoundingMode.CEILING): BigDecimal.ZERO);
return safetyInput;
}).collect(Collectors.toList());
}


Loading…
Annulla
Salva