소스 검색

部门里的主账号问题,不显示主账号显示名字。

liangpeile 1 년 전
부모
커밋
7bb2d4c574
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      crmeb-front/src/main/java/com/zbkj/front/controller/NewFrontApi.java

+ 5 - 5
crmeb-front/src/main/java/com/zbkj/front/controller/NewFrontApi.java

@@ -225,11 +225,11 @@ public class NewFrontApi {
             LambdaQueryWrapper<OrganizationDepartment> queryWrapperDepart = new LambdaQueryWrapper<>();
             queryWrapperDepart.eq(OrganizationDepartment::getOrganizationId, organizationId);
             List<OrganizationDepartment> departmentList = organizationDepartmentService.list(queryWrapperDepart);
-            OrganizationDepartment organizationDepartment = new OrganizationDepartment();
-            organizationDepartment.setName("主账号");
-            organizationDepartment.setId("");
-
-            departmentList.add(organizationDepartment);
+//            OrganizationDepartment organizationDepartment = new OrganizationDepartment();
+//            organizationDepartment.setName("主账号");
+//            organizationDepartment.setId("");
+//
+//            departmentList.add(organizationDepartment);
             distinctDepartments.add(departmentList);
             return CommonResult.success(distinctDepartments);
         } catch (Exception e) {