package com.cool.store.service;

import com.cool.store.exception.ApiException;
import com.cool.store.vo.InterviewDetailInfoVO;
import com.cool.store.vo.PartnerInterviewInfoVO;
import com.github.pagehelper.PageInfo;

import java.util.Date;
import java.util.List;

/**
 * @Author suzhuhong
 * @Date 2023/6/8 19:32
 * @Version 1.0
 */
public interface HyPartnerInterviewPlanService {

    /**
     * 招商经理今日面试列表
     * @param userId
     * @return
     */
    List<InterviewDetailInfoVO> getInterviewPlanList(String userId, Date dateTime);

    /**
     * getPartnerInterviewInfoList
     * @param userId
     * @param pageSize
     * @param pageNumber
     * @return
     */
    PageInfo<PartnerInterviewInfoVO> getPartnerInterviewInfoList(String userId,String type,Integer pageSize,Integer pageNumber);


    /**
     * getQualifiedInterviewList
     * @param userId
     * @param type
     * @param pageSize
     * @param pageNumber
     * @return
     */
    PageInfo<PartnerInterviewInfoVO> getQualifiedInterviewList(String userId,String type,Integer pageSize,Integer pageNumber);

    /**
     * 批量更新超时未预约面试
     * updateInterviewOverTime
     * @return
     */
    void updateInterviewOverTime() throws ApiException;

    /**
     * 批量打开十分钟之内开始的面试房间
     * updateInterviewOverTime
     * @return
     */
    void openInterviewRoom();

    /**
     * 批量关闭十分钟之内结束的面试房间
     * updateInterviewOverTime
     * @return
     */
    void updateAbsentInterview() throws ApiException;
    void approvalReminder() throws ApiException;
}
