IPunchInManager.java 860 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.punchsettle.server.service.manager;
  2. import com.punchsettle.server.dto.PunchInDto;
  3. import com.punchsettle.server.dto.PunchInWithRecordDto;
  4. import java.util.List;
  5. /**
  6. * @author tyuio
  7. * @version 1.0.0
  8. * @description 打卡结算任务 服务类
  9. * @date 2024/11/25 15:00
  10. */
  11. public interface IPunchInManager {
  12. /**
  13. * 查询打卡任务及其打卡记录
  14. * @return
  15. */
  16. List<PunchInWithRecordDto> queryPunchInAndRecord();
  17. /**
  18. * 新增或更新打卡结算任务
  19. * @param dto 打卡结算
  20. */
  21. void saveOrUpdatePunchIn(PunchInDto dto);
  22. /**
  23. * 根据主键删除打卡结算任务
  24. * @param punchInId 主键
  25. */
  26. void deletePunchIn(Long punchInId);
  27. /**
  28. * 完成打卡结算任务插入打卡记录
  29. * @param punchInId 主键
  30. */
  31. void doPunchIn(Long punchInId);
  32. }