| | |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.propertyeditors.CustomDateEditor; |
| | | import org.springframework.web.bind.WebDataBinder; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.annotation.Resource; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import static com.ruoyi.common.utils.PageUtils.startPage; |
| | | |
| | | /** |
| | | * @ClassName: globalAlarmController |
| | |
| | | @ApiOperation(value = "查看报警点数量",notes = "查询刷新时间内报警的点位数量") |
| | | @ApiOperationSupport(order = 2) |
| | | public AjaxResult countAlarmLog() { |
| | | Map<String, Integer> stringIntegerMap = globalAlarmService.selectAlarmLogsCount(); |
| | | Map<String, Object> stringIntegerMap = globalAlarmService.selectAlarmLogsCount(); |
| | | return AjaxResult.success(stringIntegerMap); |
| | | } |
| | | @GetMapping("/List") |