package jnpf.attendance.mapper;

import jnpf.base.mapper.SuperMapper;
import jnpf.entity.attendance.AttendanceMachineLog;
import jnpf.model.attendance.vo.attendance.LogMiniVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 考勤机日志mapper
 *
 * @author yanwenfu
 * @create 2024-07-30
 */
public interface AttendanceMachineLogMapper extends SuperMapper<AttendanceMachineLog> {

    /**
     * 查询日志列表
     * @param action 动作
     * @param date 日期
     * @param mac mac地址
     * @return List<jnpf.model.attendance.vo.attendance.LogMiniVo>
     */
    List<LogMiniVo> getLogList(@Param("action") String action, @Param("date") Date date, @Param("mac") String mac);
}
