package com.willalp.event.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.willalp.event.domain.HsActivityAppoint;
import com.willalp.event.domain.vo.AppActivityAppointRecordVo;
import com.willalp.event.mapper.HsActivityAppointMapper;
import com.willalp.event.service.IHsActivityAppointService;
import org.springframework.stereotype.Service;

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

/**
 * 活动预约列Service业务层处理
 *
 * @author willalp
 * @date 2023-04-04
 */
@Service
public class HsActivityAppointServiceImpl extends ServiceImpl<HsActivityAppointMapper, HsActivityAppoint>  implements IHsActivityAppointService
{
    @Resource
    private HsActivityAppointMapper hsActivityAppointMapper;

    /**
     * 查询活动预约列列表
     *
     * @param hsActivityAppoint 活动预约列
     * @return 活动预约列
     */
    @Override
    public List<HsActivityAppoint> selectHsActivityAppointList(HsActivityAppoint hsActivityAppoint)
    {
        return hsActivityAppointMapper.selectHsActivityAppointList(hsActivityAppoint);
    }

    @Override
    public List<AppActivityAppointRecordVo> appGetRecord(String userCode) {
        return hsActivityAppointMapper.appGetRecord(userCode);
    }
}
