package com.yonge.cooleshow.biz.dal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yonge.cooleshow.biz.dal.dao.TeacherFreeTimeDao;
import com.yonge.cooleshow.biz.dal.dto.PracticeTimesSetting;
import com.yonge.cooleshow.biz.dal.entity.TeacherFreeTime;
import com.yonge.cooleshow.biz.dal.vo.PracticeTeacherVo;
import com.yonge.cooleshow.biz.dal.vo.TeacherFreeTimeVo;
import com.yonge.cooleshow.biz.dal.wrapper.TeacherFreeTimeWrapper;
import com.yonge.toolset.base.page.PageInfo;

/**
 * 老师可排课时间表(TeacherFreeTime)表服务接口
 *
 * @author zx
 * @since 2022-03-25 10:04:27
 */
public interface TeacherFreeTimeService extends IService<TeacherFreeTime> {

    TeacherFreeTimeDao getDao();

    /**
    * @description: 更新趣纠课排课设置
     * @param teacherFreeTime
    * @return void
    * @author zx
    * @date 2022/3/25 10:18
    */
    void upSet(TeacherFreeTime teacherFreeTime);

    IPage<PracticeTeacherVo> queryTeacherList(IPage<PracticeTeacherVo> page,TeacherFreeTimeWrapper.TeacherSearch query);

    //更新老师30天内是否有空
    void updateTeacherFreeTime(Long teacherId);
}

