|
|
@ -146,14 +146,14 @@ public class SysOrganizationRest implements SysOrganizationFeign { |
|
|
|
sysOrganizationService.updateBySid(dto.toMap(), sid); |
|
|
|
//修改金蝶组织信息
|
|
|
|
List<OrgOrganizations> orgOrganizationsList = new ArrayList<>(); |
|
|
|
if ("0".equals(dto.getIsDept())){ |
|
|
|
if (0 == dto.getIsDept()){ |
|
|
|
OrgOrganizations orgOrganizations = new OrgOrganizations(); |
|
|
|
orgOrganizations.setFName(dto.getName()); |
|
|
|
orgOrganizations.setFNumber(dto.getOrgCode()); |
|
|
|
orgOrganizations.setFOrgFormID("102"); |
|
|
|
orgOrganizationsList.add(orgOrganizations); |
|
|
|
finKingDeeFeign.updateOrgOrganizations(orgOrganizationsList); |
|
|
|
}else if ("1".equals(dto.getIsDept())){ |
|
|
|
}else if (1 == dto.getIsDept()){ |
|
|
|
BdDepartment bdDepartment = new BdDepartment(); |
|
|
|
bdDepartment.setFName(dto.getName()); |
|
|
|
bdDepartment.setFNumber(dto.getOrgCode()); |
|
|
|