From b21d5faebba533a7d0fe276c97d47a11178178f6 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期日, 02 六月 2024 19:29:36 +0800
Subject: [PATCH] 优化代码生成主子表关联查询方式
---
src/main/resources/mybatis/system/SysJobLogMapper.xml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mybatis/system/SysJobLogMapper.xml b/src/main/resources/mybatis/system/SysJobLogMapper.xml
index dc844ba..2e06699 100644
--- a/src/main/resources/mybatis/system/SysJobLogMapper.xml
+++ b/src/main/resources/mybatis/system/SysJobLogMapper.xml
@@ -42,6 +42,7 @@
and date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
</if>
</where>
+ order by create_time desc
</select>
<select id="selectJobLogAll" resultMap="SysJobLogResult">
--
Gitblit v1.9.3