package com.willalp.event.mapper;

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

import java.util.List;

/**
 * 社团信息Mapper接口
 *
 * @author willalp
 * @date 2023-04-04
 */
public interface HsAssociationsInfoMapper extends BaseMapper<HsAssociationsInfo>
{
    /**
     * 查询社团信息列表
     *
     * @param hsAssociationsInfo 社团信息
     * @return 社团信息集合
     */
    List<HsAssociationsInfo> selectHsAssociationsInfoList(HsAssociationsInfo hsAssociationsInfo);

    /**
     * app获取参加的社团
     *
     * @param userCode
     * @return
     */
    List<HsAssociationsInfo> appGetClubs(@Param("userCode") String userCode);
}
