package com.template.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.template.model.pojo.SmartAttendance;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.template.model.vo.AskForLeaveScreenVo;
import com.template.model.vo.AskForLeaveVo;
import com.template.model.vo.ClasAttendanceVo;
import com.template.model.vo.SmartAttendanceVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.List;
/**
*
* 楼栋表 Mapper 接口
*
*
* @author ceshi
* @since 2023-12-25
*/
@Repository
public interface SmartAttendanceMapper extends BaseMapper {
List getGroup();
IPage askForLeavePage(Page page, @Param("name") String name, @Param("cardNo") String cardNo, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("ifVerification") String ifVerification, @Param("classId") String classId);
IPage queryPage(Page page, @Param("gradeId") Integer gradeId, @Param("classId") Integer classId, @Param("status") String status, @Param("studentNo") String studentNo, @Param("name") String name, @Param("startTime") String startTime, @Param("endTime") String endTime);
List queryExpor(@Param("gradeId") Integer gradeId, @Param("classId") Integer classId, @Param("status") String status, @Param("studentNo") String studentNo, @Param("name") String name, @Param("startTime") String startTime, @Param("endTime") String endTime);
IPage askForLeaveScreenPage(Page page, @Param("cardNo") String cardNo, @Param("ifVerification") String ifVerification);
List getClassHistoricalAttendance(@Param("startTime") Date startTime,@Param("endTime") Date endTime,@Param("id") Integer id);
}