|
|
@ -49,7 +49,7 @@ import java.util.List; |
|
|
|
@Slf4j |
|
|
|
@Api(tags = "外部接口") |
|
|
|
@RestController |
|
|
|
@RequestMapping("/api") |
|
|
|
@RequestMapping("") |
|
|
|
public class ExternalController { |
|
|
|
|
|
|
|
@Resource |
|
|
@ -180,13 +180,13 @@ public class ExternalController { |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("根据住院号/门诊号查询人体成分信息") |
|
|
|
@PostMapping("/http/selectByMemberId") |
|
|
|
@PostMapping("/api/http/selectByMemberId") |
|
|
|
public JsonResponse<UplRtcfInfoVo.Result> selectByMemberId(@RequestBody @Validated ExternalDto.MemberDto dto){ |
|
|
|
return JsonResponse.ok(externalService.selectByMemberId(dto.getMemberId())); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("根据住院号/门诊号查询人体成分报告") |
|
|
|
@PostMapping("/http/selectReportByMemberId") |
|
|
|
@PostMapping("/api/http/selectReportByMemberId") |
|
|
|
public JsonResponse<UplReportImage> selectReportByMemberId(@RequestBody @Validated ExternalDto.MemberDto dto){ |
|
|
|
return JsonResponse.ok(externalService.selectReportByMemberId(dto.getMemberId())); |
|
|
|
} |
|
|
|