修改创建钉钉部门参数
This commit is contained in:
parent
57ca8ae41f
commit
eebc8c524f
|
@ -32,7 +32,7 @@ public class DepartmentEventService implements ISyncDingTalkInfo {
|
|||
DepartmentCreateRequest departmentDTO = DepartmentCreateRequest.builder()
|
||||
.name(sysDept.getDeptName())
|
||||
.order(sysDept.getOrderNum())
|
||||
.parentid(sysDept.getParentName())
|
||||
.parentid(String.valueOf(sysDept.getParentId()))
|
||||
.build();
|
||||
departmentService.createDepartment(departmentDTO);
|
||||
}else if(code.equals(DingTalkListenerType.DEPARTMENT_UPDATE.getCode())){
|
||||
|
|
Loading…
Reference in New Issue