xiaoyong931011
2021-04-06 d76ed8abc8f31e210f4e93f173f41bc2861870dd
src/main/java/com/xcong/excoin/modules/documentary/service/impl/FollowOrderOperationServiceImpl.java
@@ -40,6 +40,7 @@
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
@@ -91,7 +92,7 @@
    private RedisUtils redisUtils;
    @Override
    @Transactional(rollbackFor = Exception.class)
    @Transactional(rollbackFor = Exception.class, isolation = Isolation.READ_COMMITTED)
    public void addFollowerOrder(Long id) {
        log.info("进入跟单处理逻辑 : {}", id);
        // 查询交易员订单
@@ -232,11 +233,6 @@
                    }
                    log.info("---{}, {}--", walletContract.getAvailableBalance(), walletContract.getVersion());
                    try {
                        Thread.sleep(5000);
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
                }
                if (flag) {