All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ueboot.shiro.repository.user.UserBaseRepository Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
/*
* Copyright (c)  2018
* All rights reserved.
* 2018-08-14 10:47:54
*/
package com.ueboot.shiro.repository.user;


import com.ueboot.shiro.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
* 1.这里可以写基于StringQuery方式的自定义的接口,但是需要在实现类UserRepositoryImpl当中进行实现,
* 2.如果使用Spring Data JPA语法,则写到UserRepository接口当中
* 3.Service类注入接口时直接注入 UserRepository接口即可,当前接口不需要注入
* Created on 2018-08-14 10:47:54
* @author yangkui
* @since 2.1.0 by ueboot-generator
*/
public interface UserBaseRepository  {


    /**
     * 用户查询
     * @param pageable
     * @param userName
     * @param fullName
     */
    Page pageByUserNameAndFullName(Pageable pageable, String userName, String fullName);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy