/// <summary> /// 更新组织架构(局部刷新) /// </summary> /// <param name="addListContacts"></param> public void RefreshSource(AntSdkAddListContactsOutput addListContacts) { #region 刷新部门信息 //TODO:刷新部门信息 //新增部门 if (addListContacts.departs?.add?.Count > 0) { } //更新部门 if (addListContacts.departs?.update?.Count > 0) { } //删除部门 if (addListContacts.departs?.delete?.Count > 0) { } #endregion #region 刷新成员信息 //新增部门 if (addListContacts.users?.add?.Count > 0) { } //更新部门 if (addListContacts.users?.update?.Count > 0) { } //删除部门 if (addListContacts.users?.delete?.Count > 0) { } #endregion }
/// <summary> /// 16、 获取联系人信息—增量信息(返回值区分组织架构变化和不变化两种情况) /// </summary> /// <param name="input">获取联系人信息增量信息输入</param> /// <param name="output">获取联系人信息增量信息输出</param> /// <param name="errorCode">错误代码</param> /// <param name="errorMsg">错误提示</param> /// <returns>是否获取成功</returns> public bool GetAddContacts(AntSdkAddListContactsInput input, ref AntSdkAddListContactsOutput output, ref int errorCode, ref string errorMsg) { return(AntSdkHttpCommonMethod(AntSdkService.MdAntsdkhttpMethod.GetAddContacts, input, ref output, ref errorCode, ref errorMsg, RequestMethod.GET)); }