소스 검색

fix: 跨链

Wren 1 년 전
부모
커밋
89e51e8ea1
1개의 변경된 파일10개의 추가작업 그리고 8개의 파일을 삭제
  1. 10 8
      src/main/java/com/ichaoj/ams/service/impl/AmsExecuteRecordServiceImpl.java

+ 10 - 8
src/main/java/com/ichaoj/ams/service/impl/AmsExecuteRecordServiceImpl.java

@@ -209,14 +209,16 @@ public class AmsExecuteRecordServiceImpl extends SuperWhaleServiceImpl<AmsExecut
         log.info("Pending re-execution of wallet : {}", walletsStr);
         log.info("The execution parameters are as follows : {}", executeRecord.getAirdropParams());
         AmsAirdropTask task = taskService.getById(executeRecord.getTaskId());
-//        runTask(
-//                executeRecord.getIntervalMin(),
-//                executeRecord.getIntervalMax(),
-//                executeRecord.getExecuteId(),
-//                task.getTaskCode(),
-//                JSON.parseArray(executeRecord.getAirdropParams(), AirdropParam.class),
-//                wallets
-//        );
+        executeRecord.setExecuteStatus(0);
+        this.updateById(executeRecord);
+        runTask(
+                executeRecord.getIntervalMin(),
+                executeRecord.getIntervalMax(),
+                executeRecord.getExecuteId(),
+                task.getTaskCode(),
+                JSON.parseArray(executeRecord.getAirdropParams(), AirdropParam.class),
+                wallets
+        );
 
     }