package com.ruoyi.oa.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.oa.domain.EmployeeOnboarding;
import com.ruoyi.oa.domain.vo.EmployeeOnboardingVo;
import org.apache.ibatis.annotations.Param;

/**
 * 入职管理Mapper接口
 *
 * @author hdka
 * @date 2025-02-15
 */
public interface EmployeeOnboardingMapper extends BaseMapperPlus<EmployeeOnboardingMapper, EmployeeOnboarding, EmployeeOnboardingVo> {

    Boolean updateByUserId(EmployeeOnboarding update);

    Page<EmployeeOnboardingVo> selectVoPagePlus(Page<Object> build,@Param(Constants.WRAPPER) Wrapper<EmployeeOnboarding> lqw);

    EmployeeOnboardingVo selectVoByUserId(Long userId);
}
