package com.moral.service; import java.util.List; import com.moral.common.bean.PageBean; import com.moral.entity.Role; public interface RoleService { void addOrModify(Role role); int countByExample(PageBean pageBean); PageBean getRoleList(PageBean pageBean); PageBean queryByPageBean(PageBean pageBean); void deleteByIds(Integer... ids); List getRoleIds(int accountId); void allotRole(Integer accountId, Integer[] roleIds); void allotMenu(Integer roleId, Integer[] menuOrders); }