| | |
| | | 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; |
| | | |
| | |
| | | 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)); |
| | | } |
| | | } |