UserAttendanceDetailServiceI.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. package cn.com.lzt.userattendancedetail.service;
  2. import java.util.Date;
  3. import java.util.List;
  4. import org.jeecgframework.core.common.service.CommonService;
  5. import cn.com.lzt.userattendancedetail.dto.AttendanceDetailJsonObj;
  6. import cn.com.lzt.userattendancedetail.dto.AttendanceDetailReqestJsonObj;
  7. import cn.com.lzt.userattendancedetail.dto.UserAttendanceDetailDto;
  8. import cn.com.lzt.userattendancedetail.entity.UserAttendanceDetailEntity;
  9. import cn.com.lzt.userattendancetotal.entity.UserAttendanceTotalEntity;
  10. public interface UserAttendanceDetailServiceI extends CommonService{
  11. /**
  12. * 根据用户的员工考勤合计信息, 计算每一个员工在这个月内的每天的考勤信息
  13. * @author hualong.zhao
  14. * @date 2017-11-21
  15. * @param userAttendanceTotalEntities
  16. * @param yearmonth
  17. * @throws Exception
  18. */
  19. public void saveOrUpdateUserAttendanceDetailEntitis(List<UserAttendanceTotalEntity> userAttendanceTotalEntities) throws Exception;
  20. /**
  21. * 通過 员工考勤合计信息 查询当前员工当月的考勤相关信息
  22. * userAttendanceTotalEntity必填字段为 id(计算考勤合计的时候必填, 考勤预警的时候 可以不填), yearmonth ,userid
  23. * @author hualong.zhao
  24. * @date 2017-11-30
  25. * @param userAttendanceTotalEntity 考勤合计的实体类, 此值为必传字段, 当下述attendanceDetailEntities 为空时, 计算该员工本月份三十天的所有考勤信息
  26. * @param attendanceDetailEntities 当此值不为空时, 只计算这几天的考勤信息
  27. * @param ymdDate 当此值不为空时, 只计算这一天的考勤信息
  28. * @return
  29. * @throws Exception
  30. */
  31. List<UserAttendanceDetailDto> getallUsefulField(UserAttendanceTotalEntity userAttendanceTotalEntity,List<UserAttendanceDetailEntity> attendanceDetailEntities,Date ymdDate) throws Exception;
  32. /**
  33. * 批量更新考勤详细表
  34. * @author hualong.zhao
  35. * @date 2017-12-4
  36. * @param userAttendanceDetails
  37. * @throws Exception
  38. */
  39. public void batchUpdate(AttendanceDetailReqestJsonObj reqstjson)throws Exception;
  40. /**
  41. * 获取某人某天的考勤记录的其他冗余信息
  42. * @author hualong.zhao
  43. * @date 2017-12-11
  44. * @param jsonobjString
  45. * @return
  46. */
  47. public AttendanceDetailJsonObj getJsonObjFromString(String jsonobjString);
  48. /**
  49. * @param userAttendanceTotalEntity
  50. * @throws Exception
  51. */
  52. void saveOrUpdateUserAttendanceDetailEntitis(UserAttendanceTotalEntity userAttendanceTotalEntity) throws Exception;
  53. }