Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yaru
fgqyxxlr
Commits
3be95bc5
Commit
3be95bc5
authored
Jul 12, 2019
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务日志增加分组条件查询
parent
8c5d7fd3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml
+3
-0
ruoyi-quartz/src/main/resources/templates/monitor/job/jobLog.html
+6
-3
No files found.
ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml
View file @
3be95bc5
...
...
@@ -26,6 +26,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"jobName != null and jobName != ''"
>
AND job_name like concat('%', #{jobName}, '%')
</if>
<if
test=
"jobGroup != null and jobGroup != ''"
>
AND job_group = #{jobGroup}
</if>
<if
test=
"status != null and status != ''"
>
AND status = #{status}
</if>
...
...
ruoyi-quartz/src/main/resources/templates/monitor/job/jobLog.html
View file @
3be95bc5
...
...
@@ -12,13 +12,16 @@
<div
class=
"select-list"
>
<ul>
<li>
<label>
任务名称:
</label>
<input
type=
"text"
name=
"jobName"
/>
任务名称:
<input
type=
"text"
name=
"jobName"
/>
</li>
<li>
<label>
方法名称:
</label><input
type=
"text"
name=
"methodName"
/>
任务分组:
<select
name=
"jobGroup"
th:with=
"type=${@dict.getType('sys_job_group')}"
>
<option
value=
""
>
所有
</option>
<option
th:each=
"dict : ${type}"
th:text=
"${dict.dictLabel}"
th:value=
"${dict.dictValue}"
></option>
</select>
</li>
<li>
<label>
执行状态:
</label>
<select
name=
"status"
th:with=
"type=${@dict.getType('sys_common_status')}"
>
执行状态:
<select
name=
"status"
th:with=
"type=${@dict.getType('sys_common_status')}"
>
<option
value=
""
>
所有
</option>
<option
th:each=
"dict : ${type}"
th:text=
"${dict.dictLabel}"
th:value=
"${dict.dictValue}"
></option>
</select>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment