package com.yifu.cloud.plus.v1.yifu.archives.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TBusinessEmployeeExtendInfo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.BusinessEmployeeExtendByLeave;
import com.yifu.cloud.plus.v1.yifu.archives.vo.BusinessEmployeeExtendVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description: b端员工信息拓展信息 mapper
 * @author: wangweiguo
 * @date: 2021/8/6
 * @Entity com.yifu.cloud.v1.hrms.api.entity.basic.TBusinessEmployeeExtendInfo
 */
@Mapper
public interface TBusinessEmployeeExtendInfoMapper extends BaseMapper<TBusinessEmployeeExtendInfo> {

    List<BusinessEmployeeExtendVO> getNotLeaveExtendList();

    /**
     * @param
     * @Description: 获取所有扩展信息
     * @Author: hgw
     * @Date: 2021/8/18 16:41
     * @return: java.util.List<com.yifu.cloud.v1.hrms.api.vo.basic.BusinessEmployeeExtendByLeave>
     **/
    List<BusinessEmployeeExtendByLeave> getInfoByLeaveList();

    TBusinessEmployeeExtendInfo getDataByEmpIdcard(@Param("empIdcard") String empIdcard);

    TBusinessEmployeeExtendInfo getDataById(@Param("extendId") String extendId);
}




