package com.zhgd.xmgl.modules.basicdata.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhgd.annotation.DataScope;
import com.zhgd.xmgl.modules.basicdata.entity.WorkerType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 工种
 * @author： pengj
 * @date：   2023-03-13
 * @version： V1.0
 */
@Mapper
@DataScope
public interface WorkerTypeMapper extends BaseMapper<WorkerType> {

    Page<WorkerType> getPageList(Page page, @Param(Constants.WRAPPER) Wrapper<WorkerType> wrapper);

    List<WorkerType> getList(@Param(Constants.WRAPPER) Wrapper<WorkerType> wrapper);
}
