package jnpf.attendance.service;

import jnpf.base.service.SuperService;
import jnpf.entity.attendance.AttendanceConfirmSetting;
import jnpf.model.attendance.dto.ConfirmSettingSubmitDto;
import jnpf.model.attendance.vo.attendance.ConfirmSettingInfoVo;

/**
 * 考勤确认设置
 *
 * @author shitou
 * @email shitou@niujiekeji.com
 * @date 2024-11-07 09:33:43
 */
public interface AttendanceConfirmSettingService extends SuperService<AttendanceConfirmSetting> {
    /**
     * 获取考勤确认设置
     * @param isNew 是否获取最新配置
     * @return 勤确认设置
     */
    ConfirmSettingInfoVo getConfirmSetting(Boolean isNew);

    /**
     * 考勤确认设置提交
     *
     * @param dto 确认ID
     * @return 考勤确认设置提交结果
     */
    Boolean confirmSettingSubmit(ConfirmSettingSubmitDto dto);

}
