summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhangshuai <[email protected]>2024-08-07 11:11:29 +0800
committerzhangshuai <[email protected]>2024-08-07 11:11:29 +0800
commit8932734ef6352cd870b665b3d675e98a9937c00d (patch)
tree3ea6d4fa2fae7d8c9bcaad2b95f4e0bc76e1ae80
parent3265d73dfe01886fa5e0d61810e44ba0c869f8d3 (diff)
fix: application log order by op_version desc
-rw-r--r--src/main/resources/db/mapper/app/ApplicationMapper.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/db/mapper/app/ApplicationMapper.xml b/src/main/resources/db/mapper/app/ApplicationMapper.xml
index 4dfc19b..2ca0e60 100644
--- a/src/main/resources/db/mapper/app/ApplicationMapper.xml
+++ b/src/main/resources/db/mapper/app/ApplicationMapper.xml
@@ -77,6 +77,7 @@
AND app.id = #{id}
</if>
</where>
+ ORDER BY app.op_version DESC
</select>
<select id="compare" resultMap="appResult">