xiaoyong931011
2022-12-13 13f4391da611f0be3d08981479d38f79fd6e75d4
src/main/java/cc/mrbird/febs/job/BnbTransferJob.java
@@ -21,12 +21,12 @@
    @Autowired
    private ChainProducer chainProducer;
//    @Scheduled(cron = "0/5 * * * * ? ")
//    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());
        }
    }
}