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

com.ueboot.shiro.repository.userrole.UserRoleBaseRepository Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
/*
* Copyright (c)  2018
* All rights reserved.
* 2018-08-21 09:39:51
*/
package com.ueboot.shiro.repository.userrole;

import org.springframework.stereotype.Repository;

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


    /***
     * 统计是否有
     * @param roleId
     * @return
     */
    Long statisticUserSumByRoleId(Long roleId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy