Browse Source

注释组织部门推送金蝶

master
God 2 years ago
parent
commit
70f7f31901
  1. 4
      anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/sysorganization/SysOrganizationRest.java
  2. 4
      anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/sysorganization/SysOrganizationService.java

4
anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/sysorganization/SysOrganizationRest.java

@ -145,7 +145,7 @@ public class SysOrganizationRest implements SysOrganizationFeign {
} }
sysOrganizationService.updateBySid(dto.toMap(), sid); sysOrganizationService.updateBySid(dto.toMap(), sid);
//修改金蝶组织信息 //修改金蝶组织信息
List<OrgOrganizations> orgOrganizationsList = new ArrayList<>(); /*List<OrgOrganizations> orgOrganizationsList = new ArrayList<>();
if (0 == dto.getIsDept()){ if (0 == dto.getIsDept()){
OrgOrganizations orgOrganizations = new OrgOrganizations(); OrgOrganizations orgOrganizations = new OrgOrganizations();
orgOrganizations.setFName(dto.getName()); orgOrganizations.setFName(dto.getName());
@ -160,7 +160,7 @@ public class SysOrganizationRest implements SysOrganizationFeign {
bdDepartment.setFCreateOrgId(dto.getOrgCode()); bdDepartment.setFCreateOrgId(dto.getOrgCode());
bdDepartment.setFUseOrgId(dto.getOrgCode()); bdDepartment.setFUseOrgId(dto.getOrgCode());
finKingDeeFeign.updateBdDepartment(bdDepartment); finKingDeeFeign.updateBdDepartment(bdDepartment);
} }*/
//==========================添加清空变化的用户的token //==========================添加清空变化的用户的token
//查询分管人员 //查询分管人员
List<String> stringList1 = new ArrayList<>(); List<String> stringList1 = new ArrayList<>();

4
anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/sysorganization/SysOrganizationService.java

@ -267,7 +267,7 @@ public class SysOrganizationService extends MybatisBaseService<SysOrganizationMa
entity.setOrgSidPath(sysOrganization.getOrgSidPath() + "/" + entity.getSid()); entity.setOrgSidPath(sysOrganization.getOrgSidPath() + "/" + entity.getSid());
this.saveOrUpdate(entity); this.saveOrUpdate(entity);
//推送金蝶组织信息 //推送金蝶组织信息
if (0 == entity.getIsDept()) { /*if (0 == entity.getIsDept()) {
OrgOrganizations orgOrganizations = new OrgOrganizations(); OrgOrganizations orgOrganizations = new OrgOrganizations();
orgOrganizations.setFName(entity.getName()); orgOrganizations.setFName(entity.getName());
orgOrganizations.setFNumber(entity.getOrgCode()); orgOrganizations.setFNumber(entity.getOrgCode());
@ -280,7 +280,7 @@ public class SysOrganizationService extends MybatisBaseService<SysOrganizationMa
bdDepartment.setFCreateOrgId(entity.getOrgCode()); bdDepartment.setFCreateOrgId(entity.getOrgCode());
bdDepartment.setFUseOrgId(entity.getOrgCode()); bdDepartment.setFUseOrgId(entity.getOrgCode());
finKingDeeFeign.saveBdDepartment(bdDepartment); finKingDeeFeign.saveBdDepartment(bdDepartment);
} }*/
} }
public SysOrganizationVo fetchByIdVo(String id) { public SysOrganizationVo fetchByIdVo(String id) {

Loading…
Cancel
Save