From 811e30133a6dcc6853aafbbe2bbd6a1b88e8fc71 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 13 九月 2024 10:35:07 +0800
Subject: [PATCH] 调整拆机查询实现-支持根据患者查找

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/DevRentController.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/DevRentController.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/DevRentController.java
index a1bca10..622fe67 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/DevRentController.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/DevRentController.java
@@ -138,11 +138,10 @@
 
     @GetMapping("/get-latest-rent")
     @Operation(summary = "鑾峰彇鎮h�呰澶囩殑鏈�杩戠璧佹儏鍐�")
-    @Parameter(name = "dev-id", description = "璁惧缂栧彿", required = true, example = "1024")
     @PreAuthorize("@ss.hasPermission('ecg:doctor:task')")
-    public CommonResult<DevRentRespVO> getLatestRent( @RequestParam("dev-id") String devId )
+    public CommonResult<DevRentRespVO> getLatestRent( @Valid DevRentSearchReqVO searchReqVO )
     {
-        DevRentDO devRent = devRentService.getLatestRent( devId );
+        DevRentDO devRent = devRentService.getLatestRent( searchReqVO );
         return CommonResult.success(BeanUtils.toBean(devRent, DevRentRespVO.class));
     }
 }

--
Gitblit v1.9.3