Commit e9c5464aac74eb9a977634eb43f23a7749d1f444

Authored by YunaiV
1 parent 862f356c

feat:【IoT 物联网】获取设备属性时,即使没有值,也进行返回,和 aliyun 保持一致

yudao-module-iot/yudao-module-iot-biz/src/main/resources/mapper/device/IotDevicePropertyMapper.xml
... ... @@ -73,7 +73,7 @@
73 73 WHERE ${@cn.hutool.core.util.StrUtil@toUnderlineCase(reqVO.identifier)} IS NOT NULL
74 74 AND ts BETWEEN ${@cn.hutool.core.date.LocalDateTimeUtil@toEpochMilli(reqVO.times[0])}
75 75 AND ${@cn.hutool.core.date.LocalDateTimeUtil@toEpochMilli(reqVO.times[1])}
76   - ORDER BY ts ASC
  76 + ORDER BY ts DESC
77 77 </select>
78 78  
79 79 </mapper>
80 80 \ No newline at end of file
... ...