From b44e0e4de637a141181c44d5e103eb732455c26e Mon Sep 17 00:00:00 2001
From: 刘继东 <wwwliujidong@163.com>
Date: Sat, 02 Mar 2024 11:52:29 +0800
Subject: [PATCH] update ruoyi-modules/ruoyi-job/src/main/resources/mapper/job/SysJobLogMapper.xml. 任务运行日志列表增加按创建日期倒叙排序

---
 ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
index 9474091..8d69f73 100644
--- a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
+++ b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
@@ -36,6 +36,9 @@
 	<select id="selectOperLogList" parameterType="SysOperLog" resultMap="SysOperLogResult">
 		<include refid="selectOperLogVo"/>
 		<where>
+			<if test="operIp != null and operIp != ''">
+				AND oper_ip like concat('%', #{operIp}, '%')
+			</if>
 			<if test="title != null and title != ''">
 				AND title like concat('%', #{title}, '%')
 			</if>

--
Gitblit v1.9.3