package com.nanometer.smartlab.service; import com.nanometer.smartlab.entity.BaseRole; import java.util.List; /** * Created by johnny on 17/11/18. */ public interface BaseRoleService { public List getBaseRoleList(String name, String memo, Integer first, Integer pageSize); public List getBaseRoleList(); public int getBaseRoleTotalCount(String name, String memo); public BaseRole getBaseRole(Long id); public boolean isBaseRoleExist(String name, Long editId); public BaseRole insertBaseRole(BaseRole baseRole); public boolean updateBaseRole(BaseRole baseRole); public boolean deleteBaseRole(List baseRoleList); public void updateUserMngPageBtn(BaseRole baseRole); public void updateUserMngPageUser(BaseRole baseRole); BaseRole getRoleByUserId(Long id); }