| 123456789101112131415161718192021222324252627282930313233343536373839 |
- package com.punchsettle.server.service.manager;
- import com.punchsettle.server.dto.PunchInDto;
- import com.punchsettle.server.dto.PunchInWithRecordDto;
- import java.util.List;
- /**
- * @author tyuio
- * @version 1.0.0
- * @description 打卡结算任务 服务类
- * @date 2024/11/25 15:00
- */
- public interface IPunchInManager {
- /**
- * 查询打卡任务及其打卡记录
- * @return
- */
- List<PunchInWithRecordDto> queryPunchInAndRecord();
- /**
- * 新增或更新打卡结算任务
- * @param dto 打卡结算
- */
- void saveOrUpdatePunchIn(PunchInDto dto);
- /**
- * 根据主键删除打卡结算任务
- * @param punchInId 主键
- */
- void deletePunchIn(Long punchInId);
- /**
- * 完成打卡结算任务插入打卡记录
- * @param punchInId 主键
- */
- void doPunchIn(Long punchInId);
- }
|