update 2miner 策略修改
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user