Преглед изворни кода

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

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