package com.zhgd.xmgl.modules.basicdata.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhgd.xmgl.modules.basicdata.entity.WorkerType;
import com.zhgd.xmgl.modules.basicdata.mapper.WorkerTypeMapper;
import com.zhgd.xmgl.modules.basicdata.service.IWorkerTypeService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 工种
 * @author： pengj
 * @date：   2023-03-13
 * @version： V1.0
 */
@Service
public class WorkerTypeServiceImpl extends ServiceImpl<WorkerTypeMapper, WorkerType> implements IWorkerTypeService {

    @Override
    public Page<WorkerType> getPageList(Page page, Wrapper<WorkerType> wrapper) {
        return baseMapper.getPageList(page, wrapper);
    }

    @Override
    public List<WorkerType> getList(Wrapper<WorkerType> wrapper) {
        return baseMapper.getList(wrapper);
    }
}
