xiaoyong931011
2022-12-13 fe9bcd3ec26daebdd49dec9228b26b39655a5b11
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());
//        }
//    }
}