package top.cadecode.sa.business.mapper;

import org.apache.ibatis.annotations.Mapper;
import top.cadecode.sa.common.annotation.DataSource;

import java.util.List;

/**
 * @author <NAME>
 * @date 2021/12/3
 * @description ToDo
 */
@Mapper
public interface DemoMapper {

    @DataSource("db1")
    List<String> getOne();

    @DataSource("db2")
    List<String> getTwo();
}
