From 2ce6327ec49e7fe73cc1cd3bcc2b63b28d89d38f Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期二, 17 三月 2026 14:05:25 +0800
Subject: [PATCH] #
---
rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/DeviceBindController.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/DeviceBindController.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/DeviceBindController.java
index 73b3473..f13fe43 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/DeviceBindController.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/DeviceBindController.java
@@ -16,7 +16,7 @@
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
-import javax.servlet.http.HttpServletResponse;
+import jakarta.servlet.http.HttpServletResponse;
import java.util.*;
@RestController
@@ -55,10 +55,10 @@
@OperationLog("Create 绔嬩綋搴撶珯鐐圭粦瀹�")
@PostMapping("/deviceBind/save")
public R save(@RequestBody DeviceBind deviceBind) {
- deviceBind.setCreateBy(getLoginUserId());
- deviceBind.setCreateTime(new Date());
- deviceBind.setUpdateBy(getLoginUserId());
- deviceBind.setUpdateTime(new Date());
+// deviceBind.setCreateBy(getLoginUserId());
+// deviceBind.setCreateTime(new Date());
+// deviceBind.setUpdateBy(getLoginUserId());
+// deviceBind.setUpdateTime(new Date());
if (!deviceBindService.save(deviceBind)) {
return R.error("Save Fail");
}
@@ -69,8 +69,8 @@
@OperationLog("Update 绔嬩綋搴撶珯鐐圭粦瀹�")
@PostMapping("/deviceBind/update")
public R update(@RequestBody DeviceBind deviceBind) {
- deviceBind.setUpdateBy(getLoginUserId());
- deviceBind.setUpdateTime(new Date());
+// deviceBind.setUpdateBy(getLoginUserId());
+// deviceBind.setUpdateTime(new Date());
if (!deviceBindService.updateById(deviceBind)) {
return R.error("Update Fail");
}
--
Gitblit v1.9.1