package com.zcloud.personnel.positioning.persistence.repository;

import com.zcloud.personnel.positioning.persistence.dataobject.OrgLocalCorpDO;
import com.zcloud.personnel.positioning.persistence.dataobject.OrgLocalDepartmentDO;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface OrgMatchRepository {
    List<OrgLocalCorpDO> listCorpsByNames(List<String> values);
    OrgLocalDepartmentDO findChildDepartment(String parentId, String childName);
    void upsert(Map<String, Object> params);
    void disableMissing(String sourceConfigCode, LocalDateTime syncTime);
    long countAll();
    long countMatched();
}
