xiaoyong931011
2022-12-13 7077ee9414f5c827f8d7c7ba3cc09071245803d6
src/main/java/cc/mrbird/febs/job/BnbTransferJob.java
@@ -21,12 +21,12 @@
    @Autowired
    private ChainProducer chainProducer;
    @Scheduled(cron = "0/3 * * * * ? ")
    public void BnbTransferAgain() {
        DappFundFlowEntity dappFundFlowEntity = dappFundFlowDao.selectByStateAndVersionAndFromHashLimitOne(2,2);
        if(ObjectUtil.isNotEmpty(dappFundFlowEntity)){
            chainProducer.sendBnbTransferTestMsg(dappFundFlowEntity.getId());
        }
    }
//    @Scheduled(cron = "0/5 * * * * ? ")
//    public void BnbTransferAgain() {
//        DappFundFlowEntity dappFundFlowEntity = dappFundFlowDao.selectByStateAndVersionAndFromHashLimitOne(2,2);
//        if(ObjectUtil.isNotEmpty(dappFundFlowEntity)){
//            chainProducer.sendBnbTransferTestMsg(dappFundFlowEntity.getId());
//        }
//    }
}