From 1c1aed6bde22695935df1264f9eaf49cb54a9d2e Mon Sep 17 00:00:00 2001
From: lius <Lius2225@163.com>
Date: 星期三, 16 八月 2023 17:33:06 +0800
Subject: [PATCH] 修改字段

---
 lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/quartz/mapper/xml/SysQuartzLogMapper.xml |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/quartz/mapper/xml/SysQuartzLogMapper.xml b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/quartz/mapper/xml/SysQuartzLogMapper.xml
index af40faf..bac0744 100644
--- a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/quartz/mapper/xml/SysQuartzLogMapper.xml
+++ b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/quartz/mapper/xml/SysQuartzLogMapper.xml
@@ -5,6 +5,7 @@
     <!--鍒嗛〉鍒楄〃鏌ヨ-->
     <select id="pageList" resultType="org.jeecg.modules.quartz.dto.SysQuartzLogDto">
         SELECT
+            t2.job_name jobName,
             t2.job_class_name jobClassName,
             t2.cron_expression cronExpression,
             t1.params params,
@@ -24,8 +25,8 @@
             <if test="sysQuartzLogVo.startTime != null and sysQuartzLogVo.startTime != '' and sysQuartzLogVo.endTime != null and sysQuartzLogVo.endTime != ''">
                 AND t1.create_time BETWEEN #{ sysQuartzLogVo.startTime } AND #{ sysQuartzLogVo.endTime }
             </if>
-            <if test="sysQuartzLogVo.jobClassName != null and sysQuartzLogVo.jobClassName != ''">
-                AND t2.job_class_name LIKE CONCAT(CONCAT('%',#{ sysQuartzLogVo.jobClassName }),'%')
+            <if test="sysQuartzLogVo.jobName != null and sysQuartzLogVo.jobName != ''">
+                AND t2.job_name LIKE CONCAT(CONCAT('%',#{ sysQuartzLogVo.jobName }),'%')
             </if>
             <if test="sysQuartzLogVo.description != null and sysQuartzLogVo.description != ''">
                 AND t2.description LIKE CONCAT(CONCAT('%',#{ sysQuartzLogVo.description }),'%')
@@ -37,6 +38,7 @@
 
     <select id="list" resultType="org.jeecg.modules.quartz.dto.SysQuartzLogDto">
         SELECT
+            t2.job_name jobName,
             t2.job_class_name jobClassName,
             t2.cron_expression cronExpression,
             t1.params params,
@@ -56,8 +58,8 @@
             <if test="sysQuartzLogVo.startTime != null and sysQuartzLogVo.startTime != '' and sysQuartzLogVo.endTime != null and sysQuartzLogVo.endTime != ''">
                 AND t1.create_time BETWEEN #{ sysQuartzLogVo.startTime } AND #{ sysQuartzLogVo.endTime }
             </if>
-            <if test="sysQuartzLogVo.jobClassName != null and sysQuartzLogVo.jobClassName != ''">
-                AND t2.job_class_name LIKE CONCAT(CONCAT('%',#{ sysQuartzLogVo.jobClassName }),'%')
+            <if test="sysQuartzLogVo.jobName != null and sysQuartzLogVo.jobName != ''">
+                AND t2.job_name LIKE CONCAT(CONCAT('%',#{ sysQuartzLogVo.jobName }),'%')
             </if>
             <if test="sysQuartzLogVo.description != null and sysQuartzLogVo.description != ''">
                 AND t2.description LIKE CONCAT(CONCAT('%',#{ sysQuartzLogVo.description }),'%')

--
Gitblit v1.9.3