From f66e9016d77a0d500df285ff58a581b31eb54055 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 08 一月 2025 08:21:43 +0800 Subject: [PATCH] DaPointDao代码优化 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/service/impl/ChannelOPCDADeviceServiceImpl.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/service/impl/ChannelOPCDADeviceServiceImpl.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/service/impl/ChannelOPCDADeviceServiceImpl.java index e8feaa7..a6b7588 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/service/impl/ChannelOPCDADeviceServiceImpl.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/opcda/service/impl/ChannelOPCDADeviceServiceImpl.java @@ -40,6 +40,13 @@ } @Override + public List<ChannelOPCDADeviceEntity> list(Map<String, Object> params) { + QueryWrapper<ChannelOPCDADeviceEntity> queryWrapper = new QueryWrapper<>(); + queryWrapper.orderByDesc("create_time"); + return channelOPCDADeviceDao.selectList(queryWrapper); + } + + @Override public ChannelOPCDADeviceEntity info(String id) { return channelOPCDADeviceDao.selectById(id); } -- Gitblit v1.9.3