|
|
@ -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"); |
|
|
|