public class DtUserServiceImpl extends Object implements DtUserService
| 构造器和说明 |
|---|
DtUserServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
DtUser |
getById(String userId)
获取用户
|
List<DtUser> |
listByDepartment(Long departId,
Integer offset,
Integer size,
String order)
获取部门成员详情
文档地址:https://ding-doc.dingtalk.com/document/app/obtain-department-members-details
|
List<DtUser> |
listSimpleByDepartment(Long departId,
Integer offset,
Integer size,
String order)
获取部门成员
文档地址:https://ding-doc.dingtalk.com/document/app/obtain-department-members
|
public DtUser getById(String userId) throws DtErrorException
DtUserServicegetById 在接口中 DtUserServiceuserId - 用户idDtErrorException - the error exceptionpublic List<DtUser> listByDepartment(Long departId, Integer offset, Integer size, String order) throws DtErrorException
DtUserServicelistByDepartment 在接口中 DtUserServicedepartId - 必填。部门idoffset - 必填size - 必填order - 选填DtErrorException - the error exceptionpublic List<DtUser> listSimpleByDepartment(Long departId, Integer offset, Integer size, String order) throws DtErrorException
DtUserServicelistSimpleByDepartment 在接口中 DtUserServicedepartId - 必填。部门idoffset - 必填size - 必填order - 选填DtErrorException - the error exceptionCopyright © 2021. All rights reserved.