From 98605c1d27e8d26fede844b5a79bb6b808f107fc Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 13 十一月 2025 19:03:32 +0800
Subject: [PATCH] 新增 静态模板
---
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