|
@@ -23,14 +23,14 @@ public class Api_ObrRequestController {
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 根据就诊卡号查询患者报告
|
|
|
- * @param cardId
|
|
|
+ * 根据患者id查询患者报告
|
|
|
+ * @param patId
|
|
|
* @return
|
|
|
*/
|
|
|
@ApiOperation(value = "检测报告列表")
|
|
|
- @GetMapping("/{cardId}")
|
|
|
- public AjaxResult getObrRequestByCardId(@PathVariable String cardId){
|
|
|
- List<Request> obrRequestList = obrRequestService.getRequestByCard(cardId);
|
|
|
+ @GetMapping("/{patId}")
|
|
|
+ public AjaxResult getObrRequestByCardId(@PathVariable String patId){
|
|
|
+ List<Request> obrRequestList = obrRequestService.getRequestByPatId(patId);
|
|
|
return AjaxResult.success(obrRequestList);
|
|
|
}
|
|
|
}
|