首页订单数据新增汇总字段

This commit is contained in:
Lemon
2025-01-08 09:15:56 +08:00
parent 351e03d4e8
commit 82e1f4a1c8
3 changed files with 29 additions and 1 deletions

View File

@@ -2492,9 +2492,13 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
vo.setTotalElectricity(totalElectricity.toString());
if (detailInfo != null) {
vo.setTotalPeakUsedElectricity(detailInfo.getTotalPeakUsedElectricity());
vo.setTotalSharpAmount(detailInfo.getTotalSharpAmount());
vo.setTotalFlatUsedElectricity(detailInfo.getTotalFlatUsedElectricity());
vo.setTotalPeakAmount(detailInfo.getTotalPeakAmount());
vo.setTotalSharpUsedElectricity(detailInfo.getTotalSharpUsedElectricity());
vo.setTotalFlatAmount(detailInfo.getTotalFlatAmount());
vo.setTotalValleyUsedElectricity(detailInfo.getTotalValleyUsedElectricity());
vo.setTotalValleyAmount(detailInfo.getTotalValleyAmount());
}
resultList.add(vo);
}