package com.xueyi.system.staff.mapper;

import com.xueyi.common.datasource.annotation.Isolate;
import com.xueyi.common.web.entity.mapper.BaseMapper;
import com.xueyi.system.staff.domain.dto.DmEmpAttendanceDto;
import com.xueyi.system.staff.domain.po.DmEmpAttendancePo;
import com.xueyi.system.staff.domain.query.DmEmpAttendanceQuery;
import org.apache.ibatis.annotations.Param;

/**
 * 员工考勤管理 数据层
 *
 * @author xueyi
 */
@Isolate
public interface DmEmpAttendanceMapper extends BaseMapper<DmEmpAttendanceQuery, DmEmpAttendanceDto, DmEmpAttendancePo> {

    DmEmpAttendancePo findByEmpAndDate(@Param("checkTimeDateStr") String checkTimeDateStr, @Param("userId") Long userId);
}