package com.willalp.event.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.willalp.event.domain.HsActivityAppoint;
import com.willalp.event.domain.vo.AppActivityAppointRecordVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 活动预约列Mapper接口
 *
 * @author willalp
 * @date 2023-04-04
 */
public interface HsActivityAppointMapper extends BaseMapper<HsActivityAppoint>
{
    /**
     * 查询活动预约列列表
     *
     * @param hsActivityAppoint 活动预约列
     * @return 活动预约列集合
     */
    List<HsActivityAppoint> selectHsActivityAppointList(HsActivityAppoint hsActivityAppoint);

    /**
     * APP活动记录
     *
     * @param userCode
     * @return
     */
    List<AppActivityAppointRecordVo> appGetRecord(@Param("userCode") String userCode);
}
