diff --git a/epmet-module/data-aggregator/data-aggregator-server/src/main/java/com/epmet/dataaggre/service/epmetuser/impl/EpmetUserServiceImpl.java b/epmet-module/data-aggregator/data-aggregator-server/src/main/java/com/epmet/dataaggre/service/epmetuser/impl/EpmetUserServiceImpl.java index ff11d641ef..23da5e425a 100644 --- a/epmet-module/data-aggregator/data-aggregator-server/src/main/java/com/epmet/dataaggre/service/epmetuser/impl/EpmetUserServiceImpl.java +++ b/epmet-module/data-aggregator/data-aggregator-server/src/main/java/com/epmet/dataaggre/service/epmetuser/impl/EpmetUserServiceImpl.java @@ -647,6 +647,7 @@ public class EpmetUserServiceImpl implements EpmetUserService { List list = staffRoleDao.selectByStaffId(staffId); //汇总数据 result = ConvertUtils.sourceToTarget(dto, StaffDetailV2FormDTO.class); + result.setStaffId(dto.getUserId()); result.setName(dto.getRealName()); result.setGender(dto.getGender().toString()); result.setRoles(list); diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerAgencyController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerAgencyController.java index bb6308fd11..963c8b7b95 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerAgencyController.java +++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerAgencyController.java @@ -302,4 +302,14 @@ public class CustomerAgencyController { public Result getAreaCodeSwitch(@PathVariable("customerId")String customerId){ return new Result().ok(customerOrgParameterService.getAreaCodeSwitch(customerId)); } + + /** + * @Description 【通讯录】查询当前人员所属组织、组织下部门/网格树 + * @author sun + **/ + @PostMapping("orgtree") + Result orgTree(@LoginUser TokenDto tokenDto){ + return new Result().ok(customerAgencyService.staffPermissionExt(tokenDto.getUserId())); + } + } \ No newline at end of file diff --git a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffAgencyDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffAgencyDao.xml index c62306039f..5f471060b6 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffAgencyDao.xml +++ b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffAgencyDao.xml @@ -41,58 +41,62 @@