package com.qmth.boot.data.upgrade.service;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.transaction.support.TransactionTemplate;

/**
 * 数据升级服务类
 *
 * @author: Deason
 * @since: 2025/3/3
 */
public interface DataUpgradeService {

    /**
     * 数据升级处理
     *
     * @throws Exception 处理失败时抛出异常
     */
    void process(JdbcTemplate jdbcTemplate, TransactionTemplate transactionTemplate) throws Exception;

}
