Browse Source

#水电站bug解决

zhongwei
yang_shj 1 year ago
parent
commit
e0b7e6b5e3
  1. 1
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/HomePageServiceImpl.java

1
hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/HomePageServiceImpl.java

@ -1016,6 +1016,7 @@ public class HomePageServiceImpl implements IHomePageService {
chargeVo.setChargeDegrees(data.get("todayDegree").toString()); chargeVo.setChargeDegrees(data.get("todayDegree").toString());
chargeVo.setIncome(data.get("income").toString()); chargeVo.setIncome(data.get("income").toString());
chargeVo.setTotalChargeDegrees(data.get("kilowatt").toString()); chargeVo.setTotalChargeDegrees(data.get("kilowatt").toString());
chargeVo.setCount(Integer.valueOf(data.get("stationNum").toString()));
redisTemplate.opsForValue().set(CHARGE_SUM,chargeVo); redisTemplate.opsForValue().set(CHARGE_SUM,chargeVo);
} catch (Exception ex) { } catch (Exception ex) {
chargeVo.setOrder("0"); chargeVo.setOrder("0");

Loading…
Cancel
Save