package com.willalp.event.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.willalp.event.domain.HsAssociationsInfo;
import com.willalp.event.mapper.HsAssociationsInfoMapper;
import com.willalp.event.service.IHsAssociationsInfoService;
import org.springframework.stereotype.Service;

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

/**
 * 社团信息Service业务层处理
 *
 * @author willalp
 * @date 2023-04-04
 */
@Service
public class HsAssociationsInfoServiceImpl extends ServiceImpl<HsAssociationsInfoMapper, HsAssociationsInfo>  implements IHsAssociationsInfoService
{
    @Resource
    private HsAssociationsInfoMapper hsAssociationsInfoMapper;

    /**
     * 查询社团信息列表
     *
     * @param hsAssociationsInfo 社团信息
     * @return 社团信息
     */
    @Override
    public List<HsAssociationsInfo> selectHsAssociationsInfoList(HsAssociationsInfo hsAssociationsInfo)
    {
        return hsAssociationsInfoMapper.selectHsAssociationsInfoList(hsAssociationsInfo);
    }

    @Override
    public List<HsAssociationsInfo> appGetClubs(String userCode) {
        return hsAssociationsInfoMapper.appGetClubs(userCode);
    }

}
