From 4b66cd48d9e0ca8288dae11f3a895367d30a7b8a Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期二, 19 九月 2023 10:05:49 +0800 Subject: [PATCH] 增加三场数字化报警 --- ard-work/src/main/resources/mapper/alarm/ArdAlarmExternalMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ard-work/src/main/resources/mapper/alarm/ArdAlarmExternalMapper.xml b/ard-work/src/main/resources/mapper/alarm/ArdAlarmExternalMapper.xml index 60b843e..0325f29 100644 --- a/ard-work/src/main/resources/mapper/alarm/ArdAlarmExternalMapper.xml +++ b/ard-work/src/main/resources/mapper/alarm/ArdAlarmExternalMapper.xml @@ -2,7 +2,7 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> -<mapper namespace="com.ruoyi.alarm.externalAlarm.mapper.ArdAlarmExternalMapper"> +<mapper namespace="com.ruoyi.alarm.external.mapper.ArdAlarmExternalMapper"> <resultMap type="ArdAlarmExternal" id="ArdAlarmExternalResult"> <result property="id" column="id" /> @@ -53,6 +53,7 @@ AND alarm_time <= to_timestamp(#{params.endTime},'yyyy-MM-DD HH24:MI:ss') </if> </where> + order by alarm_time desc </select> <select id="selectArdAlarmExternalById" parameterType="String" resultMap="ArdAlarmExternalResult"> -- Gitblit v1.9.3