package com.willalp.canteen.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.willalp.canteen.domain.HsGift;
import com.willalp.canteen.mapper.HsGiftMapper;
import com.willalp.canteen.service.IHsGiftService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 礼品登记Service业务层处理
 *
 * @author songyu
 * @date 2022-03-03
 */
@Service
public class HsGiftServiceImpl extends ServiceImpl<HsGiftMapper, HsGift> implements IHsGiftService
{
    @Autowired
    private HsGiftMapper hsGiftMapper;

    /**
     * 查询礼品登记列表
     *
     * @param hsGift 礼品登记
     * @return 礼品登记
     */
    @Override
    public List<HsGift> selectHsGiftList(HsGift hsGift)
    {
        return hsGiftMapper.selectHsGiftList(hsGift);
    }
}
