package cn.timer.api.dao.kqgl;


import java.util.List;

import cn.timer.api.bean.kqgl.AttendanceDetails;
import cn.timer.api.bean.kqgl.PunchCardDetails;

public interface PunchCardDetailsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PunchCardDetails record);

    int insertSelective(PunchCardDetails record);

    PunchCardDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PunchCardDetails record);

    int updateByPrimaryKey(PunchCardDetails record);
    int ModifyPunchDetails(PunchCardDetails record);
    
    List<PunchCardDetails> selectAttendanceDays(Integer userid,Long start,Long end,Integer qyid);
    
    PunchCardDetails SingleAttendanceDays(Integer userid,Long start,Long end);
    
    List<PunchCardDetails> SelectAttendanceDetails(Integer qyid,Long start,Long end);
    
    List<PunchCardDetails> QueryAttendanceDetails(AttendanceDetails attendancedetails);
    
    int selectWorkingHours(Integer userid,Long start,Long end);
    
    List<PunchCardDetails> selectNoScheduling(Long start,Long end,Integer userid);
}