Commit b721d8d2 authored by 黎博's avatar 黎博

去掉business_line字段

parent d9642a1b
......@@ -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);
}
......
......@@ -61,12 +61,6 @@ public class MonitorTask {
@TableField(value = "`status`")
private Integer status;
/**
* 业务线
*/
@TableField(value = "`business_line`")
private String businessLine;
/**
* 服务名
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment