diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/UsdtAggregationWorkflowService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/UsdtAggregationWorkflowService.java index 7dd0705..afd704b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/UsdtAggregationWorkflowService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/UsdtAggregationWorkflowService.java @@ -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;