Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
holmes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
holmes
Commits
b721d8d2
Commit
b721d8d2
authored
Dec 28, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉business_line字段
parent
d9642a1b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
MonitorTaskController.java
...n/qg/holmes/controller/monitor/MonitorTaskController.java
+0
-5
MonitorTask.java
src/main/java/cn/qg/holmes/entity/monitor/MonitorTask.java
+0
-6
No files found.
src/main/java/cn/qg/holmes/controller/monitor/MonitorTaskController.java
View file @
b721d8d2
...
...
@@ -41,7 +41,6 @@ public class MonitorTaskController {
* 获取监控列表,带搜索和分页
* @param pageNum 第几页
* @param pageSize 每页多少个
* @param businessLine 业务线
* @param serviceName 服务名
* @param taskName 监控名称
* @return
...
...
@@ -49,13 +48,9 @@ public class MonitorTaskController {
@GetMapping
(
"/list"
)
public
JsonResult
getMonitorTaskList
(
@RequestParam
(
defaultValue
=
"1"
)
Integer
pageNum
,
@RequestParam
(
defaultValue
=
"10"
)
Integer
pageSize
,
@RequestParam
String
businessLine
,
@RequestParam
String
serviceName
,
@RequestParam
String
taskName
)
{
QueryWrapper
<
MonitorTask
>
queryWrapper
=
new
QueryWrapper
<>();
if
(!
StringUtils
.
isEmpty
(
businessLine
))
{
queryWrapper
.
eq
(
"business_line"
,
businessLine
);
}
if
(!
StringUtils
.
isEmpty
(
serviceName
))
{
queryWrapper
.
eq
(
"service_name"
,
serviceName
);
}
...
...
src/main/java/cn/qg/holmes/entity/monitor/MonitorTask.java
View file @
b721d8d2
...
...
@@ -61,12 +61,6 @@ public class MonitorTask {
@TableField
(
value
=
"`status`"
)
private
Integer
status
;
/**
* 业务线
*/
@TableField
(
value
=
"`business_line`"
)
private
String
businessLine
;
/**
* 服务名
*/
...
...
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