ScheduleMapper.java 1.17 KB
Newer Older
yuquan.zhu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
package cn.timer.api.dao.kqgl;

import java.util.List;

import cn.timer.api.bean.kqgl.AttScheduling;
import cn.timer.api.bean.kqgl.CustomRosterSchedule;
import cn.timer.api.bean.kqgl.Schedule;
import cn.timer.api.bean.kqgl.ScheduleAux;


public interface ScheduleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Schedule record);

    int insertSelective(Schedule record);

    Schedule selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Schedule record);

    int updateByPrimaryKey(Schedule record);
    
    int insertKqglAssoPbmxList(List<Schedule> schedule);
    
ilal committed
26
    int deleteByPrimaryBykqzid(Integer kqzid,String date);
yuquan.zhu committed
27 28 29
    
    List<Schedule> selectAttGroupScheduling(AttScheduling attscheduling);
    
ilal committed
30
    int deleteByPrimaryByUserid(Integer userid,Integer kqzid,String date);
yuquan.zhu committed
31 32 33 34 35 36 37 38 39 40 41
    
    List<Schedule> getAttendanceShouldList(Integer userid,Long start,Long end);
    
    Schedule getScheduleSpecificAttendance(Integer kqzid,Integer userid,String date);
    
    List<ScheduleAux> getCalendarAttendance(Integer userid);
    
    Schedule getCustomRoster(Integer userid,String date);
    
    int insertCustomRoster(CustomRosterSchedule customrosterschedule);
}