package com.willalp.vacation.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.willalp.vacation.mapper.HsVacationRuleMapper;
import com.willalp.vacation.domain.HsVacationRule;
import com.willalp.vacation.service.IHsVacationRuleService;

/**
 * 假期规则Service业务层处理
 *
 * @author willalp
 * @date 2023-03-19
 */
@Service
public class HsVacationRuleServiceImpl extends ServiceImpl<HsVacationRuleMapper, HsVacationRule>  implements IHsVacationRuleService
{
    @Resource
    private HsVacationRuleMapper hsVacationRuleMapper;

    /**
     * 查询假期规则列表
     *
     * @param hsVacationRule 假期规则
     * @return 假期规则
     */
    @Override
    public List<HsVacationRule> selectHsVacationRuleList(HsVacationRule hsVacationRule)
    {
        return hsVacationRuleMapper.selectHsVacationRuleList(hsVacationRule);
    }
}
