123
birt
2025-04-13 4745c48798fc7d967a7fd4416c10050d4f79fb98
zhitan-system/src/main/java/com/zhitan/home/service/HomePageServiceImpl.java
@@ -76,7 +76,7 @@
            final Double tongbiCount = tongbiMap.get(energyNo).stream().map(HomeEnergyStatisticsVO::getCount).mapToDouble(Double::doubleValue).sum();
            final Double huanbiCount = huanbiMap.get(energyNo).stream().map(HomeEnergyStatisticsVO::getCount).mapToDouble(Double::doubleValue).sum();
            vo.setTonCount(format2Double(count));
            vo.setTonCount(format2Double(vo.getCount() * Double.valueOf(vo.getCoefficient())));
            if (tongbiCount != 0) {
                vo.setTongbi(format2Double((count - tongbiCount) / tongbiCount * 100));
            } else {