update 2miner 策略修改

This commit is contained in:
yyb
2026-01-30 09:50:03 +08:00
parent 1c4d65b3e4
commit f3ff64a952

View File

@@ -67,8 +67,7 @@ public class TwoMinersHashrateStrategy implements HashrateFetchStrategy {
while (currentQueryTime.isBefore(endTime) || currentQueryTime.isEqual(endTime)) {
// 在recently24HourHashrate中查找匹配的记录
for (RealHashrateInfoDto hashrateDto : recently24HourHashrate) {
if (hashrateDto.getOrderItemId().equals(dto.getOrderItemId())
&& hashrateDto.getDatetime().isEqual(currentQueryTime)) {
if (hashrateDto.getDatetime().isEqual(currentQueryTime)) {
filteredHashrateList.add(hashrateDto);
break;
}