Commit 7ed758af by 杨林龙

1.60.1 开发1.60.1需求版本 修改风险监控业务管理基本信息中的客户姓名为组织层级一级名称

1 parent 260569d2
...@@ -206,6 +206,9 @@ public class OrganizationApiService { ...@@ -206,6 +206,9 @@ public class OrganizationApiService {
* 获取一级组织名称 * 获取一级组织名称
*/ */
public String getFirstLevelOrgName(Long userId) { public String getFirstLevelOrgName(Long userId) {
if (Objects.isNull(userId)) {
return StringUtil.EMPTY;
}
R<List<Organization>> tenantPathsByUserId = organizationService.getTenantPathsByUserId(userId); R<List<Organization>> tenantPathsByUserId = organizationService.getTenantPathsByUserId(userId);
List<Organization> dataList = tenantPathsByUserId.getDataList(new TypeToken<List<Organization>>() { List<Organization> dataList = tenantPathsByUserId.getDataList(new TypeToken<List<Organization>>() {
}.getType()); }.getType());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!