package com.ruoyi.common.service.mybatis;

import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.core.env.Environment;

import javax.sql.DataSource;

public interface CreateSqlSessionFactory {
    public SqlSessionFactory createSqlSessionFactory(Environment env, DataSource dataSource) throws Exception;
}
