From c4bf76d6fac5de33a36d21a0d014c2fea9841b05 Mon Sep 17 00:00:00 2001 From: liwen Date: Thu, 18 Apr 2024 18:11:31 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E7=AB=99=E7=82=B9=E8=BF=913=E5=B9=B4?= =?UTF-8?q?=E5=8F=91=E7=94=B5=E9=87=8F=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scheduled/service/operation/home/impl/RealTargetServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/operation/home/impl/RealTargetServiceImpl.java b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/operation/home/impl/RealTargetServiceImpl.java index 4d43a6a..55686e3 100644 --- a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/operation/home/impl/RealTargetServiceImpl.java +++ b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/operation/home/impl/RealTargetServiceImpl.java @@ -1321,8 +1321,8 @@ public class RealTargetServiceImpl implements RealTargetService { PowerMonthVo generate = new PowerMonthVo(); Date time = DateUtil.parse(data.get("ts"), "yyyy-MM-dd HH:mm:ss.s"); generate.setStrMonth(DateUtil.format(time,DateUtil.PATTERN_DATE)); - generate.setPower(Float.parseFloat(Optional.ofNullable(data.get(HomePageConstant.HYDROPOWER_GENERATE_POWER)) - .orElse("0")) * device.getRideCount()); +// generate.setPower(Float.parseFloat(Optional.ofNullable(data.get(HomePageConstant.HYDROPOWER_GENERATE_POWER)) +// .orElse("0")) * device.getRideCount()); return generate; }).collect(Collectors.toList())); });