You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
560 B
24 lines
560 B
/**
|
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
|
* <p>
|
|
* https://www.renren.io
|
|
* <p>
|
|
* 版权所有,侵权必究!
|
|
*/
|
|
|
|
package com.epmet.service;
|
|
|
|
import com.epmet.commons.dynamic.datasource.annotation.DataSource;
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl;
|
|
import com.epmet.dao.SysUserDao;
|
|
import com.epmet.entity.SysUserEntity;
|
|
|
|
/**
|
|
* 测试多数据源
|
|
*
|
|
* @author Mark sunlightcs@gmail.com
|
|
* @since 1.1.0
|
|
*/
|
|
@DataSource("slave2")
|
|
public class DynamicService extends BaseServiceImpl<SysUserDao, SysUserEntity> {
|
|
}
|
|
|