DingAttendanceinfoServiceI.java 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package cn.com.lzt.dingattendanceinfo.service;
  2. import cn.com.lzt.dingattendanceinfo.entity.DingAttendanceinfoEntity;
  3. import cn.com.lzt.dingattendanceinfo.service.dto.DingAttendanceinfoInDto;
  4. import cn.com.lzt.dingattendanceinfo.service.dto.DingAttendanceinfoOutDto;
  5. import cn.com.lzt.userattendancedetail.dto.UserAttendanceDetailDto;
  6. import org.jeecgframework.core.common.service.CommonService;
  7. import org.jeecgframework.minidao.pojo.MiniDaoPage;
  8. import java.io.Serializable;
  9. import java.util.Date;
  10. import java.util.List;
  11. public interface DingAttendanceinfoServiceI extends CommonService {
  12. public void delete(DingAttendanceinfoEntity entity) throws Exception;
  13. public Serializable save(DingAttendanceinfoEntity entity) throws Exception;
  14. public void saveOrUpdate(DingAttendanceinfoEntity entity) throws Exception;
  15. /**
  16. * 钉钉考勤原始数据检索
  17. *
  18. * @param inDto
  19. * @param page
  20. * @param rows
  21. * @param authSql
  22. * @param sortorder
  23. * @return 钉钉考勤原始数据
  24. */
  25. public MiniDaoPage<DingAttendanceinfoOutDto> getDingAttendanceInfoList(
  26. DingAttendanceinfoInDto inDto, int page, int rows, String authSql,
  27. String sortorder);
  28. /**
  29. * 获取某人某天在某排班情况下的考勤记录
  30. *
  31. * @author hualong.zhao
  32. * @date 2017-11-23
  33. * @param dto
  34. * @return
  35. * @throws Exception
  36. */
  37. public List<DingAttendanceinfoEntity> getDingAttendanceinfoEntities(
  38. UserAttendanceDetailDto dto) throws Exception;
  39. /**
  40. * 获取考勤原始数据,分析原始数据到实时查看表
  41. *
  42. * @author yangxi
  43. * @date 2017-12-26
  44. */
  45. public void signRecordSynchronization();
  46. /**
  47. * 初始化第二天的所有人的考勤实时查看基础数据
  48. *
  49. * @author yangxi
  50. * @date 2017-12-27
  51. */
  52. public void attendanceTempInit();
  53. /**
  54. * 某个人一个月内的考勤记录
  55. * @param userid
  56. * @param curdate
  57. * @return
  58. * @throws Exception
  59. */
  60. List<DingAttendanceinfoEntity> getDingAttendanceinfoEntitiesInOneMonth(String userid, Date curdate) throws Exception;
  61. }