From dea4343d9f92a44e45eaeaab0afad6ede9ae5bb9 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: Mon, 20 Oct 2025 10:19:06 +0800
Subject: [PATCH] 优化日志打印

---
 ard-admin/src/main/java/com/ard/web/controller/sample/DeviceController.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ard-admin/src/main/java/com/ard/web/controller/sample/DeviceController.java b/ard-admin/src/main/java/com/ard/web/controller/sample/DeviceController.java
index bbf187e..e11e1e5 100644
--- a/ard-admin/src/main/java/com/ard/web/controller/sample/DeviceController.java
+++ b/ard-admin/src/main/java/com/ard/web/controller/sample/DeviceController.java
@@ -132,8 +132,9 @@
     public ResponseResult<PaginationData<DeviceDTO>> getBoundDevicesWithDomain(Integer domain,
                                                                                @RequestParam(defaultValue = "1") Long page,
                                                                                @RequestParam(value = "page_size",
-                                                                                       defaultValue = "50") Long pageSize) {
-        PaginationData<DeviceDTO> devices = deviceService.getBoundDevicesWithDomain(page, pageSize, domain);
+                                                                                       defaultValue = "50") Long pageSize,
+                                                                               @RequestParam(required = false) Long deptId) {
+        PaginationData<DeviceDTO> devices = deviceService.getBoundDevicesWithDomain(page, pageSize, domain, deptId);
 
         return ResponseResult.success(devices);
     }

--
Gitblit v1.9.3