From 704ea6024361970e2c99f21c12d0f0d88d0f1942 Mon Sep 17 00:00:00 2001
From: zf <1603559716@qq.com>
Date: Thu, 14 Sep 2023 16:00:15 +0800
Subject: [PATCH] 违章
---
exam-system/src/main/resources/mapper/noncoalmine/WorkRegistrationMapper.xml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/exam-system/src/main/resources/mapper/noncoalmine/WorkRegistrationMapper.xml b/exam-system/src/main/resources/mapper/noncoalmine/WorkRegistrationMapper.xml
index 2407edd..ab483aa 100644
--- a/exam-system/src/main/resources/mapper/noncoalmine/WorkRegistrationMapper.xml
+++ b/exam-system/src/main/resources/mapper/noncoalmine/WorkRegistrationMapper.xml
@@ -34,6 +34,7 @@
<if test="query.operateTypeId != null and query.operateTypeId != 0">
and (operate_type_id = #{query.operateTypeId} OR operate_type_id IN ( SELECT t.id FROM sys_operate_type t WHERE find_in_set(#{query.operateTypeId}, ancestors)))
</if>
+ order by create_time desc
</select>
--
Gitblit v1.9.2