|
|
@@ -119,6 +119,7 @@ public class OrganizationBatchGetTask { |
|
|
|
saveRecord.setOrganizationCode(dingOrgInfoDTO.getOrganizationCode()); |
|
|
|
// saveRecord.setSubCount((long) dingOrgInfoTreeDTO.getChildCodes().size()); |
|
|
|
saveRecord.setOrganizationName(dingOrgInfoDTO.getOrganizationName()); |
|
|
|
saveRecord.setDivisionCode(dingOrgInfoDTO.getDivisionCode()); |
|
|
|
saveRecordList.add(saveRecord); |
|
|
|
if (CollectionUtils.isNotEmpty(childCodes)) { |
|
|
|
buildSaveRecordList(childCodes, saveRecordList); |
|
|
|