update 2miner 策略修改
This commit is contained in:
@@ -67,8 +67,7 @@ public class TwoMinersHashrateStrategy implements HashrateFetchStrategy {
|
|||||||
while (currentQueryTime.isBefore(endTime) || currentQueryTime.isEqual(endTime)) {
|
while (currentQueryTime.isBefore(endTime) || currentQueryTime.isEqual(endTime)) {
|
||||||
// 在recently24HourHashrate中查找匹配的记录
|
// 在recently24HourHashrate中查找匹配的记录
|
||||||
for (RealHashrateInfoDto hashrateDto : recently24HourHashrate) {
|
for (RealHashrateInfoDto hashrateDto : recently24HourHashrate) {
|
||||||
if (hashrateDto.getOrderItemId().equals(dto.getOrderItemId())
|
if (hashrateDto.getDatetime().isEqual(currentQueryTime)) {
|
||||||
&& hashrateDto.getDatetime().isEqual(currentQueryTime)) {
|
|
||||||
filteredHashrateList.add(hashrateDto);
|
filteredHashrateList.add(hashrateDto);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user