package com.ruoyi.pay.mapper;

import com.ruoyi.pay.domain.PayAttendance;
import com.ruoyi.pay.domain.vo.PayAttendanceVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Select;

/**
 * 考勤Mapper接口
 *
 * @author ruoyi
 * @date 2025-05-12
 */
public interface PayAttendanceMapper extends BaseMapperPlus<PayAttendanceMapper, PayAttendance, PayAttendanceVo> {
    @Select({" select e.id employeeId,d.dept_id deptId,d.dept_name deptName  from pay_employee_info e join sys_dept d on e.dept_id=d.dept_id " +
        "  where e.name=#{name} and e.deleted=0"} )
    PayAttendance selectEmpInfoByName(String empName);
}
