From 02856700ce4cc57cf9447134a9f0c6860d85b802 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 11 九月 2024 10:19:01 +0800
Subject: [PATCH] 拆机功能

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/DevRentController.java |    6 ++----
 1 files changed, 2 insertions(+), 4 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 7b1766e..485a506 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
@@ -94,13 +94,11 @@
 
     @GetMapping("/get-latest-rent")
     @Operation(summary = "鑾峰彇鎮h�呰澶囩殑鏈�杩戠璧佹儏鍐�")
-    @Parameter(name = "pat-id", description = "鎮h�呯紪鍙�", required = true, example = "1024")
     @Parameter(name = "dev-id", description = "璁惧缂栧彿", required = true, example = "1024")
     @PreAuthorize("@ss.hasPermission('ecg:doctor:task')")
-    public CommonResult<DevRentRespVO> getLatestRent(
-            @RequestParam("pat-id") String patId, @RequestParam("dev-id") String devId)
+    public CommonResult<DevRentRespVO> getLatestRent( @RequestParam("dev-id") String devId )
     {
-        DevRentDO devRent = devRentService.getLatestRent(patId, devId);
+        DevRentDO devRent = devRentService.getLatestRent( devId );
         return success(BeanUtils.toBean(devRent, DevRentRespVO.class));
     }
 }

--
Gitblit v1.9.3