package com.template.services;
import com.template.model.pojo.SmartAttendance;
import com.baomidou.mybatisplus.extension.service.IService;
import com.template.model.pojo.SmartVisitor;
import com.template.model.result.PageUtils;
import com.template.model.vo.*;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
/**
*
* 楼栋表 服务类
*
*
* @author ceshi
* @since 2023-12-25
*/
public interface SmartAttendanceService extends IService {
List queryAttendances(String startDate,String endDate);
List queryExistAttendances(String startDate, String endDate);
List queryAttendancesNoleave(String startDate, String endDate);
boolean insertAttendanceBatch(List attendances);
List queryAttendanceList(Date startMonth, Date endMonth);
List getHistoricalAttendance(Integer userId,Integer status,Date startTime, Date endTime);
List getGroup();
List track(String startTime, String endTime, int userId);
PageUtils askForLeavePage(int currentPage, int pageCount,String name, String cardNo, String startTime, String endTime,String ifVerification,String classId);
PageUtils queryPage(int currentPage, int pageCount, Integer gradeId, Integer classId, String status, String studentNo, String name, String startTime, String endTime);
List duplicatesList(Date startTime, Date endTime, Date initiateTime);
List queryExpor(Integer gradeId, Integer classId, String status, String studentNo, String name, String startTime, String endTime);
PageUtils askForLeaveScreenPage(int currentPage, int pageCount, String cardNo, String ifVerification);
Integer getStudentHistoricalAttendance(Integer status, Date startTime, Date endTime);
List getClassHistoricalAttendance(Date startTime, Date endTime, Integer id);
Integer getClassAckHistoricalAttendance(int i, Date startTime, Date endTime, Integer id);
List ackDetail(Integer userId, LocalDateTime startTime, LocalDateTime endTime);
Integer deleteDatasByids(List ids);
List toDateList(LocalDateTime start, LocalDateTime end);
List toDateAndPlacelist(LocalDateTime startTime, LocalDateTime endTime, Integer classId);
}