eight
2024-12-10 0980c29c1948b1901fa834f86ffb5884a09223d5
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));
    }
}