|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.moral.api.entity.ManageRole; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * <p> | 
|---|
|  |  |  | 
|---|
|  |  |  | * @since 2021-03-09 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public interface ManageRoleMapper extends BaseMapper<ManageRole> { | 
|---|
|  |  |  | List<ManageRole> getManageRoleByAccountId(Integer accountId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ManageRole> getAll(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ManageRole getManageRoleByName(String name); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ManageRole getManageRoleById(int id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void insertOne(ManageRole manageRole); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void updateManageRoleById(Map map); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ManageRole> getManageRoleByNameFuzzy(ManageRole manageRole); | 
|---|
|  |  |  | } | 
|---|