package com.ssj.service.conch.curator.service.v1;

import com.ssj.bean.curator.TbVacationLimit;
import com.ssj.framework.core.common.service.BaseService;
import com.ssj.framework.core.util.ResponseEntity;
import com.ssj.service.conch.parents.v1.request.VacationSaveReq;

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

public interface IVacationLimitService extends BaseService<TbVacationLimit, String> {
    /**
     * 查找指定时间段里包含的馆里设置的所有节假日(有交集的节假日)
     *
     * @param libId
     * @param beginTime
     * @param endTime
     * @return
     */
    List<TbVacationLimit> findValidVocationLimit(Date beginTime, Date endTime, String libId);

    ResponseEntity vacationList(String libId);

    ResponseEntity vacationSetSave(VacationSaveReq req,String userId);
}
