From 2bc90e242eceb83d9aa80d48ea9f991c0f9b99c6 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 12 十二月 2024 19:47:57 +0800 Subject: [PATCH] 工位选择界面 诊室按照room id排序 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/CheckTypeController.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/CheckTypeController.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/CheckTypeController.java index 97dbbbe..c77b2d0 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/CheckTypeController.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/CheckTypeController.java @@ -26,6 +26,7 @@ import cn.lihu.jh.module.ecg.service.checktype.CheckTypeService; import javax.annotation.Resource; +import javax.annotation.security.PermitAll; import javax.servlet.http.HttpServletResponse; import javax.validation.Valid; @@ -92,4 +93,11 @@ BeanUtils.toBean(list, CheckTypeRespVO.class)); } -} \ No newline at end of file + @GetMapping("/list-simple-check-type") + @Operation(summary = "鑾峰緱绠�鍗曟鏌ョ被鍨嬪垪琛�") + @PermitAll + public CommonResult<List<SimpleCheckTypeRespVO>> getSimpleCheckTypeList() { + List<CheckTypeDO> list = checkTypeService.getSimpleCheckTypeList(); + return success(BeanUtils.toBean(list, SimpleCheckTypeRespVO.class)); + } +} -- Gitblit v1.9.3