From 01a81beea99c0298a3b6178c7796f4c27b30c6c7 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期二, 15 四月 2025 14:27:50 +0800 Subject: [PATCH] pat detail. 新增 appontment_id --- jh-module-system/jh-module-system-biz/src/main/java/cn/lihu/jh/module/system/api/dept/DeptApiImpl.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/jh-module-system/jh-module-system-biz/src/main/java/cn/lihu/jh/module/system/api/dept/DeptApiImpl.java b/jh-module-system/jh-module-system-biz/src/main/java/cn/lihu/jh/module/system/api/dept/DeptApiImpl.java index 05aa76a..dda35da 100644 --- a/jh-module-system/jh-module-system-biz/src/main/java/cn/lihu/jh/module/system/api/dept/DeptApiImpl.java +++ b/jh-module-system/jh-module-system-biz/src/main/java/cn/lihu/jh/module/system/api/dept/DeptApiImpl.java @@ -1,5 +1,6 @@ package cn.lihu.jh.module.system.api.dept; +import cn.lihu.jh.framework.common.enums.CommonStatusEnum; import cn.lihu.jh.framework.common.util.object.BeanUtils; import cn.lihu.jh.module.system.api.dept.dto.DeptRespDTO; import cn.lihu.jh.module.system.dal.dataobject.dept.DeptDO; @@ -10,6 +11,8 @@ import javax.annotation.Resource; import java.util.Collection; import java.util.List; + +import static cn.lihu.jh.framework.common.pojo.CommonResult.success; /** * 閮ㄩ棬 API 瀹炵幇绫� @@ -45,4 +48,10 @@ return BeanUtils.toBean(childDeptList, DeptRespDTO.class); } + @Override + public List<DeptRespDTO> getSimpleDeptList() { + List<DeptDO> depts = deptService.getSimpleDeptList(); + return BeanUtils.toBean(depts, DeptRespDTO.class); + } + } -- Gitblit v1.9.3