diff --git a/oms/src/main/java/com/yxt/oms/biz/func/crmcustomer/CrmCustomerTempDto.java b/oms/src/main/java/com/yxt/oms/biz/func/crmcustomer/CrmCustomerTempDto.java index 8ebf4b9..cacb47c 100644 --- a/oms/src/main/java/com/yxt/oms/biz/func/crmcustomer/CrmCustomerTempDto.java +++ b/oms/src/main/java/com/yxt/oms/biz/func/crmcustomer/CrmCustomerTempDto.java @@ -146,4 +146,5 @@ public class CrmCustomerTempDto implements Dto { private String customerOrgSid; private String customerOrgName; + } diff --git a/oms/src/main/java/com/yxt/oms/biz/func/crmcustomer/CrmCustomerTempService.java b/oms/src/main/java/com/yxt/oms/biz/func/crmcustomer/CrmCustomerTempService.java index fb81c9d..0460921 100644 --- a/oms/src/main/java/com/yxt/oms/biz/func/crmcustomer/CrmCustomerTempService.java +++ b/oms/src/main/java/com/yxt/oms/biz/func/crmcustomer/CrmCustomerTempService.java @@ -159,13 +159,13 @@ public class CrmCustomerTempService { dto.fillEntity(crmCustomerTemp); crmCustomerTemp.setCreateBySid(dto.getUserSid()); crmCustomerTemp.setStaffSid(sysUserInfoVo.getStaffSid()); - String orgSid = ""; - if (StringUtils.isNotBlank(dto.getOrgPath())) { - orgSid = sysStaffOrgFeign.getOrgSidByPath(dto.getOrgPath()).getData(); - } else { - orgSid = sysStaffOrgFeign.getPathSidByUserSid(dto.getUserSid()).getData(); - } - crmCustomerTemp.setCreateOrgSid(orgSid); +// String orgSid = ""; +// if (StringUtils.isNotBlank(dto.getOrgPath())) { +// orgSid = sysStaffOrgFeign.getOrgSidByPath(dto.getOrgPath()).getData(); +// } else { +// orgSid = sysStaffOrgFeign.getPathSidByUserSid(dto.getUserSid()).getData(); +// } + crmCustomerTemp.setCreateOrgSid(dto.getCreateOrgSid()); ResultBean resultBean = dictCommonFeign.getFirstDictKeyByType(DictCommonType.FOLLOW_STATE, "0"); if (resultBean.getSuccess() && resultBean.getData() != null) { String key = resultBean.getData().toString();