From 71542a84d8461b3ae216ee35fda214752a94d350 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期一, 23 十二月 2024 19:08:51 +0800 Subject: [PATCH] 执法监管、审核管理、职工管理、协议内容管理接口 --- medicalWaste-system/src/main/java/com/sinata/system/service/SysDepartmentService.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/medicalWaste-system/src/main/java/com/sinata/system/service/SysDepartmentService.java b/medicalWaste-system/src/main/java/com/sinata/system/service/SysDepartmentService.java index fdab3b1..7e76bc2 100644 --- a/medicalWaste-system/src/main/java/com/sinata/system/service/SysDepartmentService.java +++ b/medicalWaste-system/src/main/java/com/sinata/system/service/SysDepartmentService.java @@ -75,7 +75,7 @@ * @param parentId * @return */ - String getTreeCode(Long parentId); + String generateTreeCode(Long parentId); /** * 生成组织编码 @@ -214,4 +214,12 @@ * @param id */ void deleteRegulatoryUnit(Long id); + + /** + * 根据部门id获取树编码,如果为空则获取当前登录用户所在区域树编码 + * + * @param departmentId + * @return + */ + String getTreeCodeByDepartmentId(Long departmentId); } -- Gitblit v1.7.1