From 9e728237cde66e43c3726f83b83aa97ae8151576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E5=BA=8F=E6=8C=AF?= Date: Mon, 26 Aug 2024 16:50:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fastPassage/SpqListLibraryMapper.xml | 1 + .../fastPassage/SpqTrafficRecordsMapper.xml | 1 + .../spqDangerMonitor/SpqAlarmOrderMapper.xml | 31 +++++++++++++------ 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/God-Vue-master/god-system/src/main/resources/mapper/fastPassage/SpqListLibraryMapper.xml b/God-Vue-master/god-system/src/main/resources/mapper/fastPassage/SpqListLibraryMapper.xml index e7413382..0cdee04f 100644 --- a/God-Vue-master/god-system/src/main/resources/mapper/fastPassage/SpqListLibraryMapper.xml +++ b/God-Vue-master/god-system/src/main/resources/mapper/fastPassage/SpqListLibraryMapper.xml @@ -37,6 +37,7 @@ and period_validity = #{periodValidity} + ORDER BY date_time desc - and danger_scene = #{dangerScene} - and img_id = #{imgId} - and alarm_time = #{alarmTime} - and scene_address = #{sceneAddress} - and alarm_desc = #{alarmDesc} - and order_id like concat('%', #{orderId}, '%') - and order_status = #{orderStatus} - and work_person = #{workPerson} - and is_deleted = #{isDeleted} + and danger_scene = + #{dangerScene} + and img_id = + #{imgId} + and alarm_time = + #{alarmTime} + and scene_address = + #{sceneAddress} + and alarm_desc = + #{alarmDesc} + and order_id like concat('%', + #{orderId}, + '%' + ) + and order_status = + #{orderStatus} + and work_person = + #{workPerson} + and is_deleted = + #{isDeleted} and order_status != '30' + ORDER BY alarm_time desc