package com.ym.mec.biz.dal.dao;

import com.ym.mec.biz.dal.entity.VipGroupActivity;
import com.ym.mec.common.dal.BaseDAO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface VipGroupActivityDao extends BaseDAO<Integer, VipGroupActivity> {

	/**
	 * @Author: Joburgess
	 * @Date: 2019/10/2
	 * 根据课程类型获取vip课 活动方案
	 */
	List<VipGroupActivity> findByCategory(@Param("categoryId") Long categoryId, @Param("organIds") String organIds);

	/**
	 * 根据活动方案编号列表获取名称
	 * @param activityIds
	 * @return
	 */
	List<Map<Integer, String>> queryNamesById(String activityIds);

	List<VipGroupActivity> queryByIds(@Param("activityIds") String activityIds);
}
