From 5ba25cb53dab2ef0f8052a93796ef67a8a2ee820 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 10 六月 2025 14:53:49 +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, 3 insertions(+), 2 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 5e6efac..3f49886 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
@@ -79,11 +79,12 @@
     @Operation(summary = "璁惧棰嗙敤瀹屾垚")
     @PreAuthorize("@ss.hasPermission('ecg:doctor:task')")
     public CommonResult<Long> devReady(@Valid @RequestBody DevRentSaveReqVO createReqVO) {
+        String userHisId = SecurityFrameworkUtils.getLoginUserHisId();
+        String userNickname = SecurityFrameworkUtils.getLoginUserNickname();
+        createReqVO.setOperater(userNickname);
         CommonResult<Long> result = devRentService.readyOperation(createReqVO);
 
         try {
-            String userNickname = SecurityFrameworkUtils.getLoginUserNickname();
-            String userHisId = SecurityFrameworkUtils.getLoginUserHisId();
             Long rentId = createReqVO.getId();
             devRentService.feeConfirm(rentId, userHisId, userNickname, true);  // 鏁呮剰 涓嶆鏌ヨ繑鍥炲��
         } catch (Exception e) {

--
Gitblit v1.9.3