孔祥富
2021-03-09 0532f8fe46864a09a0febeb6550aea2de42a4ab8
febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/service/IEmpBaseInfoService.java
@@ -1,11 +1,17 @@
package cc.mrbird.febs.server.hr.service;
import cc.mrbird.febs.common.core.exception.FebsException;
import cc.mrbird.febs.server.hr.entity.*;
import cc.mrbird.febs.common.core.entity.QueryRequest;
import cc.mrbird.febs.server.hr.entity.EmpDimissionLog;
import cc.mrbird.febs.server.hr.entity.EmpJobChange;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;
import java.util.Map;
@@ -27,6 +33,16 @@
     * @return IPage<EmpBaseinfo>
     */
    IPage<EmpBaseInfo> findEmpBaseInfos(QueryRequest request, EmpBaseInfo empBaseInfo);
    /**
     *智搜 查询(分页)
     *
     * @param request     QueryRequest
     * @param empBaseInfo empBaseinfo
     * @return IPage<EmpBaseinfo>
     */
    IPage<EmpBaseInfo> findZsEmpBaseInfos(QueryRequest request, EmpBaseInfo empBaseInfo);
    /**
     * 查询(所有)
@@ -123,7 +139,7 @@
    IPage<EmpLaborTrouble> empBaseInfoLzList(String index, String btime, String etime, String pageSize, String pageNum, String number, String name);
    IPage<?> empBaseInfoTgList(String index, String btime, String etime, String pageSize, String pageNum, String number, String name);
    IPage<EmpJobChange> empBaseInfoTgList(String index, String btime, String etime, String pageSize, String pageNum, String number, String name);
    IPage<EmpOccupational> empBaseInfoGsList(String index, String btime, String etime, String pageSize, String pageNum, String number, String name);
@@ -134,4 +150,51 @@
    IPage<EmpUnemployment> empBaseInfoSyjList(String index, String btime, String etime, String pageSize, String pageNum, String number, String name);
    IPage<EmpBadRecord> empBaseInfoBlList(String index, String btime, String etime, String pageSize, String pageNum, String number, String name);
    /**
     *
     * 关闭员工档案
     *
     * date 2021-02-18 12:54
     * @author: luoyibo
     * @param empDimissionLog
     * @return boolean
     */
    boolean closeEmpArchives(EmpDimissionLog empDimissionLog);
    /**
     *
     * 员工岗位变更
     *
     * date 2021-02-18 20:32
     * @author: luoyibo
     * @param empJobChange 1
     * @return boolean
     */
    boolean changeEmpJob(EmpJobChange empJobChange);
    /**
     * 导入员工
     * @param listObject
     */
   void importEmpBaseInfo(List<List<Object>> listObject,List<String>  returnList) throws FebsException;
    void getImage(String empId, HttpServletResponse response) throws Exception;
    /**
     *
     * 增加在职员工信息
     *
     * date 2021-03-03 00:06
     * @author: luoyibo
     * @param empBaseInfo 在职员工信息
     * @return cc.mrbird.febs.server.hr.entity.EmpBaseInfo
     */
    EmpBaseInfo addInEmpBaseInfo(EmpBaseInfo empBaseInfo);
    Long getEmpIdByEmpNumb(String empNumb);
    EmpBaseInfo getEmpBaseInfoByEmpNumb(String empNumb);
  void   exportEmpAll(HttpServletResponse response,EmpBaseInfo empBaseinfo) throws IOException;
}