txlcn-tc/src/main/java/com/codingapi/txlcn/tc/core/DTXLocalContext.java
public static DTXLocalContext getOrNew() {
        if (currentLocal.get() == null) {
            currentLocal.set(new DTXLocalContext());
        }
        return currentLocal.get();
    }
public static DTXLocalContext getOrNew() {
        if (currentLocal.get() == null) {
            currentLocal.set(new DTXLocalContext());
        }
        return currentLocal.get();
    }
获取或新建一个线程变量。

@return 当前线程变量