txlcn-tc/src/main/java/com/codingapi/txlcn/tc/corelog/txc/TxcLogHelper.java
public void saveUndoLog(UndoLogDO undoLogDO) throws SQLException {
        String sql = "INSERT INTO TXC_UNDO_LOG (UNIT_ID,GROUP_ID,SQL_TYPE,ROLLBACK_INFO,CREATE_TIME) VALUES(?,?,?,?,?)";
        h2DbHelper.queryRunner().update(sql, undoLogDO.getUnitId(), undoLogDO.getGroupId(), undoLogDO.getSqlType(),
                undoLogDO.getRollbackInfo(), undoLogDO.getCreateTime());
    }
public void saveUndoLog(UndoLogDO undoLogDO) throws SQLException {
        String sql = "INSERT INTO TXC_UNDO_LOG (UNIT_ID,GROUP_ID,SQL_TYPE,ROLLBACK_INFO,CREATE_TIME) VALUES(?,?,?,?,?)";
        h2DbHelper.queryRunner().update(sql, undoLogDO.getUnitId(), undoLogDO.getGroupId(), undoLogDO.getSqlType(),
                undoLogDO.getRollbackInfo(), undoLogDO.getCreateTime());
    }
public void saveUndoLog ( UndoLogDO undoLogDO ) throws SQLException { String sql = "INSERT INTO TXC_UNDO_LOG (UNIT_ID,GROUP_ID,SQL_TYPE,ROLLBACK_INFO,CREATE_TIME) VALUES(?,?,?,?,?)" ; h2DbHelper . queryRunner ( ) . update ( sql , undoLogDO . getUnitId ( ) , undoLogDO . getGroupId ( ) , undoLogDO . getSqlType ( ) , undoLogDO . getRollbackInfo ( ) , undoLogDO . getCreateTime ( ) ) ; }
保存TXC撤销日志

@param undoLogDO 撤销日志对象
@throws SQLException 数据库操作失败
保存TXC撤销日志