package com.ruoyi.dpc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.dpc.domain.DpcEmployee;
import com.ruoyi.dpc.domain.vo.DpcEmployeeVO;
import org.apache.ibatis.annotations.Param;

/**
 * 员工信息 数据层
 *
 * @author ruoyi
 * @date 2026-01-28
 */
public interface DpcEmployeeMapper extends BaseMapper<DpcEmployee> {

    /**
     * 查询员工详情（包含亲属列表）
     *
     * @param employeeId 员工ID
     * @return 员工VO
     */
    DpcEmployeeVO selectEmployeeWithRelatives(@Param("employeeId") Long employeeId);
}
