using JNPF.Systems.Entitys.Dto.Organize;
using JNPF.Systems.Entitys.Dto.SysConfig;
using JNPF.Systems.Entitys.Permission;
namespace JNPF.Systems.Interfaces.System;
///
/// 第三方同步
/// 版 本:V3.2
/// 版 权:拓通智联科技有限公司(http://www.tuotong-tech.com)
/// 日 期:2021-06-01.
///
public interface ISynThirdInfoService
{
///
/// 组织同步.
///
///
///
///
///
///
Task SynDep(int thirdType, int dataType, SysConfigOutput sysConfig, List orgList);
///
/// 用户同步.
///
///
///
///
///
///
Task SynUser(int thirdType, int dataType, SysConfigOutput sysConfig, List userList);
///
/// 删除同步数据.
///
///
///
///
///
///
Task DelSynData(int thirdType, int dataType, SysConfigOutput sysConfig, string id);
///
/// 根据系统主键获取第三方主键.
///
/// 系统主键.
/// 第三方类型.
/// 数据类型.
///
Task> GetThirdIdList(List ids, int thirdType, int dataType);
}