类 OrgSyncApiImpl

  • 所有已实现的接口:
    OrgSyncApi

    @Primary
    @Validated
    @RestController("v0OrgSyncApiImpl")
    @RequestMapping(value="/services/rest/orgSync",
                    produces="application/json")
    @Deprecated
    public class OrgSyncApiImpl
    extends Object
    implements OrgSyncApi
    已过时。
    组织同步组件
    从以下版本开始:
    9.6.0
    作者:
    dingzhaojun, qinman, mengjuhua
    Date:
    2022/2/10
    • 构造器详细资料

      • OrgSyncApiImpl

        public OrgSyncApiImpl()
        已过时。
    • 方法详细资料

      • fullSync

        public net.risesoft.pojo.Y9Result<net.risesoft.model.platform.MessageOrg> fullSync​(@RequestParam("appName") @NotBlank
                                                                                           @NotBlank String appName,
                                                                                           @RequestParam("tenantId") @NotBlank
                                                                                           @NotBlank String tenantId,
                                                                                           @RequestParam("organizationId") @NotBlank
                                                                                           @NotBlank String organizationId)
        已过时。
        根据机构id,全量获取整个组织机构数据
        指定者:
        fullSync 在接口中 OrgSyncApi
        参数:
        appName - 应用名称
        tenantId - 租户id
        organizationId - 机构id
        返回:
        Y9Result<MessageOrg> 整个组织机构对象集合
        从以下版本开始:
        9.6.0
      • incrSync

        public net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.MessageOrg>> incrSync​(@RequestParam("appName") @NotBlank
                                                                                                 @NotBlank String appName,
                                                                                                 @RequestParam("tenantId") @NotBlank
                                                                                                 @NotBlank String tenantId)
        已过时。
        增量获取组织操作列表 系统记录了上一次同步的时间,从上一次同步时间往后获取数据
        指定者:
        incrSync 在接口中 OrgSyncApi
        参数:
        appName - 应用名称
        tenantId - 租户id
        返回:
        Y9Result<List<MessageOrg>> 事件列表
        从以下版本开始:
        9.6.0