完善企业微信同步器同步,修正 已同步的组织被删除后 后续同步无法恢复

This commit is contained in:
link2fun
2025-11-05 17:01:49 +08:00
parent 866d42c278
commit bc54cb256c
3 changed files with 214 additions and 66 deletions

View File

@@ -31,5 +31,11 @@ public interface SynchroRelatedService extends IJpaService<SynchroRelated>{
public SynchroRelated findByOriginId(Synchronizers synchronizer,String originId,String classType) ;
/**
* 根据 同步器 + originId + classType 查询同步关系, 如果存在则更新, 不存在则插入
* @param synchronizer 同步器
* @param synchroRelated 同步关系
* @param classType 对象类型
*/
public void updateSynchroRelated(Synchronizers synchronizer,SynchroRelated synchroRelated,String classType) ;
}