/*
 * Author: wangjian
 * 生成mapper
 */
package com.tofly.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tofly.base.entity.Position;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 职位表
 *
 * @author wangjian
 * @date Tue Dec 03 00:00:00 CST 2019
 */
public interface PositionMapper extends BaseMapper<Position> {

    List<Map> getPosition(@Param("map") Map map, IPage iPage);
    List<Map> getAllUserPosition(IPage iPage);
}
