/**
 * Copyright © 2021-2026 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.sys.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeeplus.sys.domain.Post;
import com.jeeplus.sys.service.dto.PostDTO;

/**
 * 岗位MAPPER接口
 *
 * @author 刘高峰
 * @version 2021-08-17
 */
public interface PostMapper extends BaseMapper <Post> {

    /**
     * 根据岗位名称查询岗位信息
     * @param name
     * @return
     */
    @InterceptorIgnore(tenantLine = "true")
    PostDTO getPostDTOByName(String name);

}
