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

import com.ym.mec.biz.dal.entity.MusicGroupSubjectPlan;
import com.ym.mec.common.dal.BaseDAO;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MusicGroupSubjectPlanDao extends BaseDAO<Integer, MusicGroupSubjectPlan> {
    /**
     * 获取乐团声部招生计划
     *
     * @param musicGroupId
     * @return
     */
    List<MusicGroupSubjectPlan> getMusicSubjectClassPlan(@Param("musicGroupId") String musicGroupId);


    /**
     * 获取乐团声部报名缴费商品信息
     *
     * @param musicGroupId
     * @param subjectId
     * @return
     */
    MusicGroupSubjectPlan getMusicOneSubjectClassPlan(@Param("musicGroupId") String musicGroupId, @Param("subjectId") int subjectId);
}