/**
* 文件：RoleUserService.java
* 版本：1.0.0
* 日期：
* Copyright &reg; 
* All right reserved.
*/

package com.mortals.xhx.base.system.role.service;


import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.base.system.role.model.RoleUserEntity;
import com.mortals.xhx.base.system.role.model.RoleUserQuery;

/**
 * <p>Title: 角色用户</p>
 * <p>Description: RoleUserService service接口 </p>
 * <p>Copyright: Copyright &reg;  </p>
 * <p>Company: </p>
 * @author 
 * @version 1.0.0
 */

public interface RoleUserService extends ICRUDService<RoleUserEntity,Long> {

    void doDistributionUser(RoleUserQuery query);

    void doDistributionRole(RoleUserQuery query);


    /**
     * 给用户分配角色
     * @param query
     */
    void assignRoleToUser(RoleUserQuery query);
}