Showing
1 changed file
with
2 additions
and
25 deletions
1 | package com.monitor.user.ctrl; | 1 | package com.monitor.user.ctrl; |
2 | 2 | ||
3 | -import com.model.AlarmMsgModel; | ||
4 | -import com.model.User; | ||
5 | -import com.model.UserOperateLog; | ||
6 | -import com.monitor.common.contants.PaginationContants; | ||
7 | -import com.monitor.common.service.AppRedisService; | ||
8 | -import com.monitor.common.service.MailService; | ||
9 | -import com.monitor.common.util.MD5Util; | ||
10 | -import com.monitor.influxdb.InfluxDataReporter; | ||
11 | import com.monitor.influxdb.contants.InfluxDBContants; | 3 | import com.monitor.influxdb.contants.InfluxDBContants; |
12 | -import com.monitor.model.domain.Mail; | ||
13 | -import com.monitor.model.domain.PageBean; | ||
14 | -import com.monitor.model.domain.UserOperate; | ||
15 | -import com.monitor.model.page.PageRequest; | ||
16 | import com.monitor.model.page.PageResponse; | 4 | import com.monitor.model.page.PageResponse; |
17 | import com.monitor.model.request.MonitorAlarmTableReq; | 5 | import com.monitor.model.request.MonitorAlarmTableReq; |
18 | -import com.monitor.model.request.SqlOpLogsReq; | ||
19 | -import com.monitor.model.request.UserOperateReq; | ||
20 | import com.monitor.model.response.BaseResponse; | 6 | import com.monitor.model.response.BaseResponse; |
21 | -import com.monitor.mysql.mapper.UserMapper; | ||
22 | -import com.monitor.mysql.mapper.UserOperateLogMapper; | ||
23 | import com.monitor.user.service.MonitorAlarmServiceImpl; | 7 | import com.monitor.user.service.MonitorAlarmServiceImpl; |
24 | -import com.monitor.user.service.UserOperateLogsServiceImpl; | ||
25 | -import com.util.GetUsersInfoUtil; | ||
26 | -import org.influxdb.InfluxDB; | ||
27 | import org.slf4j.Logger; | 8 | import org.slf4j.Logger; |
28 | import org.slf4j.LoggerFactory; | 9 | import org.slf4j.LoggerFactory; |
29 | import org.springframework.beans.factory.annotation.Autowired; | 10 | import org.springframework.beans.factory.annotation.Autowired; |
30 | -import org.springframework.beans.factory.annotation.Value; | ||
31 | import org.springframework.stereotype.Controller; | 11 | import org.springframework.stereotype.Controller; |
32 | -import org.springframework.util.CollectionUtils; | ||
33 | import org.springframework.util.StringUtils; | 12 | import org.springframework.util.StringUtils; |
34 | import org.springframework.web.bind.annotation.RequestBody; | 13 | import org.springframework.web.bind.annotation.RequestBody; |
35 | import org.springframework.web.bind.annotation.RequestMapping; | 14 | import org.springframework.web.bind.annotation.RequestMapping; |
36 | import org.springframework.web.bind.annotation.ResponseBody; | 15 | import org.springframework.web.bind.annotation.ResponseBody; |
37 | 16 | ||
38 | -import java.util.HashMap; | ||
39 | import java.util.List; | 17 | import java.util.List; |
40 | -import java.util.Map; | ||
41 | 18 | ||
42 | @Controller | 19 | @Controller |
43 | @RequestMapping("monitorAlarm") | 20 | @RequestMapping("monitorAlarm") |
44 | -public class MonitorCtrl { | ||
45 | - private static final Logger LOGGER = LoggerFactory.getLogger(MonitorCtrl.class); | 21 | +public class MonitorAlarmCtrl { |
22 | + private static final Logger LOGGER = LoggerFactory.getLogger(MonitorAlarmCtrl.class); | ||
46 | @Autowired | 23 | @Autowired |
47 | MonitorAlarmServiceImpl monitorAlarmService; | 24 | MonitorAlarmServiceImpl monitorAlarmService; |
48 | 25 |
-
Please register or login to post a comment