package com.ruoyi.system.service.grid;

import com.ruoyi.system.domain.grid.GridCompanyPeople;
import com.ruoyi.system.domain.grid.GridCompanyPeopleExample;
import com.ruoyi.system.domain.grid.ext.GridCompanyPeopleExt;
import com.ruoyi.system.service.BaseService;

import java.util.List;
import java.util.Map;

/**
 * @author Cesar
 * @date ${cTime}
 * @desc GridCompanyPeopleService接口
 */
public interface GridCompanyPeopleService extends BaseService<GridCompanyPeople, GridCompanyPeopleExample> {

    List<GridCompanyPeople> selectGridCompanyPeopleByCompanyId(String companyId, String creditCode, String peopleId);

    // GridCompanyPeopleExt查询GridPeopleExt对象和GridCompanyExt对象
    GridCompanyPeopleExt selectGridCompanyPeopleExt(Map<String, String> wgxxbMap, Map<String, String> commonMap, GridCompanyPeopleExt wsCompanyPeopleExt, Boolean companyFlag, Boolean peopleFlag);

    // 统计企业下的员工数量
    int countEmployeeNum(String companyId, String creditCode);

}
