mirror of
https://gitee.com/dromara/Raincat.git
synced 2024-12-02 03:48:35 +08:00
bug
This commit is contained in:
parent
7cc9c2e53d
commit
aa33221ae5
@ -130,7 +130,7 @@ public class RedisTransactionRecoverRepository implements TransactionRecoverRepo
|
||||
final List<TransactionRecover> tccTransactions = listAll();
|
||||
return tccTransactions
|
||||
.stream()
|
||||
.filter(transactionRecover -> transactionRecover.getLastTime().compareTo(date) > 0)
|
||||
.filter(transactionRecover -> transactionRecover.getLastTime().compareTo(date) < 0)
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
@ -145,7 +145,7 @@ public class ZookeeperTransactionRecoverRepository implements TransactionRecover
|
||||
public List<TransactionRecover> listAllByDelay(final Date date) {
|
||||
final List<TransactionRecover> tccTransactions = listAll();
|
||||
return tccTransactions.stream()
|
||||
.filter(transactionRecover -> transactionRecover.getLastTime().compareTo(date) > 0)
|
||||
.filter(transactionRecover -> transactionRecover.getLastTime().compareTo(date) < 0)
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user