eight
2024-12-03 8f410963380b34e4f80aaba0fe982437a9445b3c
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));
    }
}
    @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));
    }
}