比较直错误处理
This commit is contained in:
1 parent
183bc87997
commit
eeb108c963
1 file changed
+1
-1
+1
-1
@@ -264,7 +264,7 @@ public class UsdtAggregationWorkflowService {
|
||||
}
|
||||
|
||||
private boolean isEligible(WalletAddressPlus wallet, String destination) {
|
||||
return wallet != null && Integer.valueOf(1).equals(wallet.getStatus())
|
||||
return wallet != null && Long.valueOf(1L).equals(wallet.getStatus())
|
||||
&& wallet.getDeletedAt() == null && StringUtils.isNotBlank(wallet.getWalletUserName())
|
||||
&& StringUtils.isNotBlank(wallet.getToken()) && !wallet.getToken().equals(destination)
|
||||
&& wallet.getUsdtBalance() != null && wallet.getUsdtBalance().compareTo(BigDecimal.ZERO) > 0;
|
||||
|
||||
Reference in new issue
Block a user