copy from blade-auth/src/main/java/org/springblade/auth/AuthApplication.java
copy to blade-auth/src/main/java/org/springblade/system/mapper/TenantMapper.java
| File was copied from blade-auth/src/main/java/org/springblade/auth/AuthApplication.java |
| | |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.auth; |
| | | package org.springblade.system.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.system.entity.Tenant; |
| | | |
| | | import org.springblade.core.cloud.client.BladeCloudApplication; |
| | | import org.springblade.core.launch.BladeApplication; |
| | | import org.springblade.core.launch.constant.AppConstant; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 用户认证服务器 |
| | | * Mapper 接口 |
| | | * |
| | | * @author Chill |
| | | */ |
| | | @BladeCloudApplication |
| | | public class AuthApplication { |
| | | public interface TenantMapper extends BaseMapper<Tenant> { |
| | | |
| | | public static void main(String[] args) { |
| | | BladeApplication.run(AppConstant.APPLICATION_AUTH_NAME, AuthApplication.class, args); |
| | | } |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param tenant |
| | | * @return |
| | | */ |
| | | List<Tenant> selectTenantPage(IPage page, Tenant tenant); |
| | | |
| | | } |