光伏今日放电统计逻辑修改

This commit is contained in:
2026-02-03 17:57:41 +08:00
parent 2e6cee7f49
commit a859c4b649
2 changed files with 31 additions and 3 deletions

View File

@ -1475,6 +1475,7 @@ public class Device001ApiController {
}
if (stationHomeRespVos != null && stationHomeRespVos.size() > 0) {
BigDecimal startEle = stationHomeRespVos.get(0).getDigital();
query.setBegin(DateUtil.beginOfDay(new Date()));
cacheObj(query, DeviceTypeConstant.PV_DAILY_CHARGE_START, startEle);
}
}