forked from rongchao/epmet-cloud-rizhao
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.
45 lines
1.4 KiB
45 lines
1.4 KiB
/**
|
|
* Copyright 2018 人人开源 https://www.renren.io
|
|
* <p>
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
* <p>
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
* <p>
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
package com.epmet.dao;
|
|
|
|
import com.epmet.commons.mybatis.dao.BaseDao;
|
|
import com.epmet.dto.form.UserRoleFormDTO;
|
|
import com.epmet.dto.result.UserRoleResultDTO;
|
|
import com.epmet.entity.UserRoleEntity;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 用户角色关系表
|
|
*
|
|
* @author generator generator@elink-cn.com
|
|
* @since v1.0.0 2020-03-30
|
|
*/
|
|
@Mapper
|
|
public interface UserRoleDao extends BaseDao<UserRoleEntity> {
|
|
/**
|
|
* @Description 根据用户Id、来源app、客户Id查询用户角色
|
|
* @Param userRoleFormDTO
|
|
* @return UserRoleResultDTO
|
|
* @Author wangc
|
|
* @Date 2020.03.30 15:35
|
|
**/
|
|
List<UserRoleResultDTO> getUserRoleInfo(UserRoleFormDTO userRoleFormDTO);
|
|
|
|
}
|