From 83742e476be26188965380c0c7cebf03f867e204 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期一, 09 十二月 2024 09:02:03 +0800 Subject: [PATCH] 远程监控功能中,显示设备报警信息同时也显示报警接收时间,修改相应的代码与SQL --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmLossDayLastMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmLossDayLastMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmLossDayLastMapper.xml index 96f3855..db01039 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmLossDayLastMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/RmLossDayLastMapper.xml @@ -221,7 +221,7 @@ and rldl.dt <= #{endDt,jdbcType=DATE} </if> </where> - ORDER BY rldl.id DESC + ORDER BY rldl.dt_last DESC <trim prefix="limit "> <if test="start != null and count != null"> #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} -- Gitblit v1.8.0