package jnpf.attendance.service;

import jnpf.base.service.SuperService;
import jnpf.entity.attendance.AttendanceClockInResult;
import jnpf.model.attendance.vo.UserDayVo;

import java.util.List;
import java.util.Map;

/**
 * 打卡结果服务
 *
 * @author yanwenfu
 * @create 2023-11-29
 */
public interface AttendanceClockInResultService extends SuperService<AttendanceClockInResult> {

    /**
     * 打卡重新匹配数据库处理
     * @param resultList 生成的打卡结果
     * @param userDayList 用户日期vo
     * @param updateUserId 更新人
     */
    void dbMatchDeal(String requestId, List<AttendanceClockInResult> resultList, List<UserDayVo> userDayList, String updateUserId);

    void updateOldResultChangeList(Map<String, AttendanceClockInResult> map);

    void updateOldResultRepairList(Map<String, AttendanceClockInResult> map);
}
