code: public static int transactionState(int userDtxState) {
          DTXLocalContext dtxLocalContext = Objects.requireNonNull(currentLocal.get(), "DTX can't be null.");
          return userDtxState == 1 ? dtxLocalContext.sysTransactionState : userDtxState;
      }
docs: 事务状态
  @param userDtxState state
  @return 1 commit 0 rollback