Jelajahi Sumber

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

liangpeile 1 tahun lalu
induk
melakukan
7bb2d4c574

+ 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) {