소스 검색

bug修复

wangb 1 개월 전
부모
커밋
bdcbc021a2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      runeconomy-xk/src/main/java/com/gyee/runeconomy/service/auto/impl/ProEconEquipmentInfoDayTopServiceImpl.java

+ 1 - 1
runeconomy-xk/src/main/java/com/gyee/runeconomy/service/auto/impl/ProEconEquipmentInfoDayTopServiceImpl.java

@@ -63,7 +63,7 @@ public class ProEconEquipmentInfoDayTopServiceImpl extends ServiceImpl<ProEconEq
         Map<String, TurbineInfoDay> dayMap = tidRecords.stream().collect(Collectors.toMap(TurbineInfoDay::getTurbineId, Function.identity()));
         peeidtRecords.forEach(peeidt -> {
             TurbineInfoDay day = dayMap.get(peeidt.getWindturbineId());
-            Date recordDate = day.getRecordDate();
+            Date recordDate = peeidt.getRecordDate();
             int i = DateUtil.dayOfMonth(recordDate);
             peeidt.setDayfdl(NumberUtil.round(day.getRfdl() / 1000, 2).doubleValue());
             peeidt.setDayllfdl(NumberUtil.round(day.getLlfdl() / 1000, 2).doubleValue());