类 OrgSyncApiImpl
- java.lang.Object
-
- net.risesoft.api.org.OrgSyncApiImpl
-
- 所有已实现的接口:
OrgSyncApi
@Primary @Validated @RestController @RequestMapping(value="/services/rest/v1/orgSync", produces="application/json") public class OrgSyncApiImpl extends Object implements OrgSyncApi组织同步组件- 从以下版本开始:
- 9.6.0
- 作者:
- dingzhaojun, qinman, mengjuhua
- Date:
- 2022/2/10
-
-
构造器概要
构造器 构造器 说明 OrgSyncApiImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 net.risesoft.pojo.Y9Result<net.risesoft.model.platform.MessageOrg<net.risesoft.model.platform.SyncOrgUnits>>fullSync(@NotBlank String appName, @NotBlank String tenantId, @NotBlank String organizationId)根据机构id,全量获取整个组织机构所有组织节点数据net.risesoft.pojo.Y9Page<net.risesoft.model.platform.Department>fullSyncDept(String appName, String tenantId, int page, int rows)net.risesoft.pojo.Y9Page<net.risesoft.model.platform.Person>fullSyncUser(String appName, String tenantId, String type, int page, int rows)net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.MessageOrg<net.risesoft.model.platform.OrgUnit>>>incrSync(@NotBlank String appName, @NotBlank String tenantId)增量获取组织操作列表 系统记录了上一次同步的时间,从上一次同步时间往后获取数据net.risesoft.pojo.Y9Result<String>syncTime(String appName, String tenantId)
-
-
-
方法详细资料
-
fullSync
public net.risesoft.pojo.Y9Result<net.risesoft.model.platform.MessageOrg<net.risesoft.model.platform.SyncOrgUnits>> fullSync(@RequestParam("appName") @NotBlank @NotBlank String appName, @RequestParam("tenantId") @NotBlank @NotBlank String tenantId, @RequestParam("organizationId") @NotBlank @NotBlank String organizationId)根据机构id,全量获取整个组织机构所有组织节点数据- 指定者:
fullSync在接口中OrgSyncApi- 参数:
appName- 应用名称tenantId- 租户idorganizationId- 机构id- 返回:
Y9Result<MessageOrg>通用请求返回对象 - data 是整个组织机构所有组织节点集合- 从以下版本开始:
- 9.6.0
-
fullSyncDept
public net.risesoft.pojo.Y9Page<net.risesoft.model.platform.Department> fullSyncDept(@RequestParam String appName, @RequestParam String tenantId, @RequestParam int page, @RequestParam int rows)- 指定者:
fullSyncDept在接口中OrgSyncApi
-
fullSyncUser
public net.risesoft.pojo.Y9Page<net.risesoft.model.platform.Person> fullSyncUser(@RequestParam String appName, @RequestParam String tenantId, @RequestParam String type, @RequestParam int page, @RequestParam int rows)- 指定者:
fullSyncUser在接口中OrgSyncApi
-
incrSync
public net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.MessageOrg<net.risesoft.model.platform.OrgUnit>>> incrSync(@RequestParam("appName") @NotBlank @NotBlank String appName, @RequestParam("tenantId") @NotBlank @NotBlank String tenantId)
增量获取组织操作列表 系统记录了上一次同步的时间,从上一次同步时间往后获取数据- 指定者:
incrSync在接口中OrgSyncApi- 参数:
appName- 应用名称tenantId- 租户id- 返回:
Y9Result<List<MessageOrg>>通用请求返回对象 - data 是事件列表- 从以下版本开始:
- 9.6.0
-
syncTime
public net.risesoft.pojo.Y9Result<String> syncTime(@RequestParam String appName, @RequestParam String tenantId)
- 指定者:
syncTime在接口中OrgSyncApi
-
-