package com.ghy.worker.service.impl;

import com.ghy.worker.domain.Worker;
import com.ghy.worker.mapper.WorkerMapper;
import com.ghy.worker.service.WorkerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WorkerServiceImpl implements WorkerService {

    @Autowired
    private WorkerMapper workerMapper;

    @Override
    public List<Worker> getWorkList(Worker worker) {
        return workerMapper.getWorkerList(worker);
    }

}
