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

import com.ym.mec.biz.dal.dto.VipGroupSalaryDto;
import com.ym.mec.biz.dal.entity.CourseScheduleTeacherSalary;
import com.ym.mec.common.dal.BaseDAO;

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

public interface CourseScheduleTeacherSalaryDao extends BaseDAO<Long, CourseScheduleTeacherSalary> {

    /**
     * @Author: Joburgess
     * @Date: 2019/10/10
     * @params [courseScheduleTeacherSalaries]
     * @return int
     * @describe 批量插入
     */
    int batchInsert(List<CourseScheduleTeacherSalary> courseScheduleTeacherSalaries);

    /**
     * @Author: Joburgess
     * @Date: 2019/10/11
     * @params [params]
     * @return java.util.List<com.ym.mec.biz.dal.dto.VipGroupSalaryDto>
     * @describe 获取vip课财务记录
     */
    List<VipGroupSalaryDto> findVipGroupSalarys(Map<String,Object> params);
    int countVipGroupSalarys(Map<String,Object> params);

    /**
     * @Author: Joburgess
     * @Date: 2019/10/15
     * @params [days:天数]
     * @return java.util.List<com.ym.mec.biz.dal.entity.TeacherDefaultVipGroupSalary>
     * @describe 获取多少天之前的未结算教师课酬记录
     */
    List<CourseScheduleTeacherSalary> findSomeDayAgoTeacherCourseSalaryNoSettlement(Integer days);

}