package com.willalp.vacation.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.willalp.vacation.domain.HsVacationSurplus;
import com.willalp.vacation.mapper.HsVacationSurplusMapper;
import com.willalp.vacation.service.IHsVacationSurplusService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 假期剩余Service业务层处理
 *
 * @author willalp
 * @date 2023-03-19
 */
@Service
public class HsVacationSurplusServiceImpl extends ServiceImpl<HsVacationSurplusMapper, HsVacationSurplus>  implements IHsVacationSurplusService
{
    @Resource
    private HsVacationSurplusMapper hsVacationSurplusMapper;

    /**
     * 查询假期剩余列表
     *
     * @param hsVacationSurplus 假期剩余
     * @return 假期剩余
     */
    @Override
    public List<HsVacationSurplus> selectHsVacationSurplusList(HsVacationSurplus hsVacationSurplus)
    {
        return hsVacationSurplusMapper.selectHsVacationSurplusList(hsVacationSurplus);
    }
}
