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