From e9c5464aac74eb9a977634eb43f23a7749d1f444 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 18 Jun 2025 23:27:27 +0800 Subject: [PATCH] feat:【IoT 物联网】获取设备属性时,即使没有值,也进行返回,和 aliyun 保持一致 --- yudao-module-iot/yudao-module-iot-biz/src/main/resources/mapper/device/IotDevicePropertyMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-iot/yudao-module-iot-biz/src/main/resources/mapper/device/IotDevicePropertyMapper.xml b/yudao-module-iot/yudao-module-iot-biz/src/main/resources/mapper/device/IotDevicePropertyMapper.xml index 6ee29ef..fc2d366 100644 --- a/yudao-module-iot/yudao-module-iot-biz/src/main/resources/mapper/device/IotDevicePropertyMapper.xml +++ b/yudao-module-iot/yudao-module-iot-biz/src/main/resources/mapper/device/IotDevicePropertyMapper.xml @@ -73,7 +73,7 @@ WHERE ${@cn.hutool.core.util.StrUtil@toUnderlineCase(reqVO.identifier)} IS NOT NULL AND ts BETWEEN ${@cn.hutool.core.date.LocalDateTimeUtil@toEpochMilli(reqVO.times[0])} AND ${@cn.hutool.core.date.LocalDateTimeUtil@toEpochMilli(reqVO.times[1])} - ORDER BY ts ASC + ORDER BY ts DESC \ No newline at end of file -- libgit2 0.21.4