/** * Copyright 2018 人人开源 https://www.renren.io *
* 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. *
* 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. *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see > getUserRoleInfo(UserRoleFormDTO userRoleFormDTO);
/**
* 添加用户角色关系
*
* @param userRoleDTO 参数
* @return Result
*/
Result saveUserRole(UserRoleDTO userRoleDTO);
/**
* 根据用户ID,查询用户所属角色: 多种身份
*
* @param userId
* @return com.epmet.commons.tools.utils.Result
> getUserRoleInfoByUserId(String userId);
/**
* @Description 查询此人是不是党员,true是党员,false不是党员
* @Param userId
* @author zxc
* @date 2021/4/19 下午4:34
*/
Boolean selectIsPartyMemberByUserId(String userId);
/**
* 获取用户居民权限
* @author zhaoqifeng
* @date 2021/4/22 10:48
* @param customerId
* @param userId
* @return com.epmet.dto.result.UserRoleResultDTO
*/
UserRoleResultDTO getUserResidentRole(String customerId, String userId);
}