package com.ssj.service.sys.attendance;

import com.ssj.bean.sys.attendance.Attendance;
import com.ssj.bean.sys.give.GiveRecord;
import com.ssj.framework.core.common.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Date;
import java.util.Map;

/**
 * @author Mount Liu
 * @date 2019/6/4
 */
public interface AttendanceService extends BaseService<Attendance, String> {

    /**
     * 查询指定天的数据
     *
     * @param userId
     * @param oneDay
     * @return
     */
    Attendance findByUserIdAndDate(String userId, Date oneDay);

    /**
     * 记录下该天应该出勤的所有老师记录
     */
    void takeDownTodayCorrectTeacher();

}
