From 80901549e47d60365def9911e07ad835c0eab4f0 Mon Sep 17 00:00:00 2001 From: Yang <17363321594@163.com> Date: Fri, 21 Nov 2025 14:19:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E5=88=99=E5=88=97=E8=A1=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/service/impl/DryEquipmentInfoServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shgx-dryingroom/src/main/java/com/shgx/dryingroom/web/service/impl/DryEquipmentInfoServiceImpl.java b/shgx-dryingroom/src/main/java/com/shgx/dryingroom/web/service/impl/DryEquipmentInfoServiceImpl.java index 66652bb..0fead9b 100644 --- a/shgx-dryingroom/src/main/java/com/shgx/dryingroom/web/service/impl/DryEquipmentInfoServiceImpl.java +++ b/shgx-dryingroom/src/main/java/com/shgx/dryingroom/web/service/impl/DryEquipmentInfoServiceImpl.java @@ -146,11 +146,12 @@ public class DryEquipmentInfoServiceImpl implements IDryEquipmentInfoService */ @Override public List ruleList() { - List list = paramMapper.selectList(null); + List list = paramMapper.selectList(new LambdaQueryWrapper().orderByDesc(DryParamThreshold::getCreateTime)); List result = new ArrayList<>(); for (DryParamThreshold item : list) { ParamThresholdDTO param = new ParamThresholdDTO(); param.ruleName = item.getRuleName(); + result.add(param); } return result; }