From 490e91d0ca6ec5d09ccb7189146a86bfeebae635 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 24 Nov 2025 19:51:20 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E3=80=90iot=E3=80=91=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E7=B2=BE=E7=AE=80=E5=88=97=E8=A1=A8=EF=BC=8C=E6=9C=AA?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E8=AE=BE=E5=A4=87=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iot/controller/admin/product/IotProductController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/controller/admin/product/IotProductController.java b/yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/controller/admin/product/IotProductController.java index 39eec84442..3acf928245 100644 --- a/yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/controller/admin/product/IotProductController.java +++ b/yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/controller/admin/product/IotProductController.java @@ -146,7 +146,7 @@ public class IotProductController { public CommonResult> getProductSimpleList() { List list = productService.getProductList(); return success(convertList(list, product -> // 只返回 id、name 字段 - new IotProductRespVO().setId(product.getId()).setName(product.getName()) + new IotProductRespVO().setId(product.getId()).setName(product.getName()).setStatus(product.getStatus()) .setDeviceType(product.getDeviceType()).setLocationType(product.getLocationType()))); }