From 43e16c0697b7c546a4f5fa5b93cba663c6b6d04d Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 06 十一月 2024 17:02:04 +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, 5 insertions(+), 5 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 68fefd8..f3d5507 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 @@ -1,12 +1,16 @@ package cn.lihu.jh.module.ecg.controller.admin.checktype; import org.springframework.web.bind.annotation.*; +import jakarta.annotation.Resource; import org.springframework.validation.annotation.Validated; import org.springframework.security.access.prepost.PreAuthorize; import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Operation; +import jakarta.validation.constraints.*; +import jakarta.validation.*; +import jakarta.servlet.http.*; import java.util.*; import java.io.IOException; @@ -24,10 +28,6 @@ import cn.lihu.jh.module.ecg.controller.admin.checktype.vo.*; import cn.lihu.jh.module.ecg.dal.dataobject.checktype.CheckTypeDO; import cn.lihu.jh.module.ecg.service.checktype.CheckTypeService; - -import javax.annotation.Resource; -import javax.servlet.http.HttpServletResponse; -import javax.validation.Valid; @Tag(name = "绠$悊鍚庡彴 - 妫�鏌ョ被鍨�") @RestController @@ -94,7 +94,7 @@ @GetMapping("/list-simple-check-type") @Operation(summary = "鑾峰緱绠�鍗曟鏌ョ被鍨嬪垪琛�") - @PreAuthorize("@ss.hasPermission('ecg:check-type:query')") + @PermitAll public CommonResult<List<SimpleCheckTypeRespVO>> getSimpleCheckTypeList() { List<CheckTypeDO> list = checkTypeService.getSimpleCheckTypeList(); return success(BeanUtils.toBean(list, SimpleCheckTypeRespVO.class)); -- Gitblit v1.9.3