SmartAttendanceMapper.java 1.2 KB

123456789101112131415161718192021222324252627282930
  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.AskForLeaveVo;
  7. import com.template.model.vo.SmartAttendanceVo;
  8. import org.apache.ibatis.annotations.Param;
  9. import org.springframework.stereotype.Repository;
  10. import java.util.List;
  11. /**
  12. * <p>
  13. * 楼栋表 Mapper 接口
  14. * </p>
  15. *
  16. * @author ceshi
  17. * @since 2023-12-25
  18. */
  19. @Repository
  20. public interface SmartAttendanceMapper extends BaseMapper<SmartAttendance> {
  21. List<Integer> getGroup();
  22. IPage<AskForLeaveVo> askForLeavePage(Page<AskForLeaveVo> page, @Param("name") String name,@Param("cardNo") String cardNo,@Param("startTime") String startTime,@Param("endTime") String endTime,@Param("ifVerification")Integer ifVerification,@Param("classId")String classId);
  23. IPage<SmartAttendanceVo> queryPage(Page<SmartAttendanceVo> page,@Param("gradeId") Integer gradeId,@Param("classId") Integer classId,@Param("status") Integer status,@Param("studentNo") String studentNo,@Param("name") String name,@Param("startTime") String startTime,@Param("endTime") String endTime);
  24. }