SmartAttendanceMapper.java 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package com.template.mapper;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  4. import com.template.model.pojo.SmartAttendance;
  5. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  6. import com.template.model.vo.AskForLeaveScreenVo;
  7. import com.template.model.vo.AskForLeaveVo;
  8. import com.template.model.vo.ClasAttendanceVo;
  9. import com.template.model.vo.SmartAttendanceVo;
  10. import org.apache.ibatis.annotations.Param;
  11. import org.springframework.stereotype.Repository;
  12. import java.util.Date;
  13. import java.util.List;
  14. /**
  15. * <p>
  16. * 楼栋表 Mapper 接口
  17. * </p>
  18. *
  19. * @author ceshi
  20. * @since 2023-12-25
  21. */
  22. @Repository
  23. public interface SmartAttendanceMapper extends BaseMapper<SmartAttendance> {
  24. List<Integer> getGroup();
  25. IPage<AskForLeaveVo> askForLeavePage(Page<AskForLeaveVo> 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);
  26. IPage<SmartAttendanceVo> queryPage(Page<SmartAttendanceVo> 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);
  27. List<SmartAttendanceVo> 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);
  28. IPage<AskForLeaveScreenVo> askForLeaveScreenPage(Page<AskForLeaveScreenVo> page, @Param("cardNo") String cardNo, @Param("ifVerification") String ifVerification);
  29. List<ClasAttendanceVo> getClassHistoricalAttendance(@Param("startTime") Date startTime,@Param("endTime") Date endTime,@Param("id") Integer id);
  30. }