|
@@ -19,8 +19,8 @@ import javax.servlet.http.HttpServletResponse;
|
|
|
import javax.validation.Valid;
|
|
|
|
|
|
/**
|
|
|
- * @description
|
|
|
* @author andy
|
|
|
+ * @description
|
|
|
* @data 2020-11-16 11:05
|
|
|
*/
|
|
|
@RestController
|
|
@@ -32,14 +32,14 @@ public class AlarmTypeDetailsController {
|
|
|
@Autowired
|
|
|
private AlarmTypeDetailsService alarmTypeDetailsService;
|
|
|
|
|
|
- @GetMapping(value="selectPage" )
|
|
|
+ @GetMapping(value = "selectPage")
|
|
|
@ApiOperation(value = "分页查询报警详情信息")
|
|
|
- public AjaxMessage selectPage(@Valid AlarmTypeDetailsDto dto, BasePageDto page){
|
|
|
+ public AjaxMessage selectPage(@Valid AlarmTypeDetailsDto dto, BasePageDto page) {
|
|
|
|
|
|
- return AjaxMessage.success(alarmTypeDetailsService.selectPage(dto,page));
|
|
|
+ return AjaxMessage.success(alarmTypeDetailsService.selectPage(dto, page));
|
|
|
}
|
|
|
|
|
|
- @RequestMapping(value="export" , method = RequestMethod.GET)
|
|
|
+ @GetMapping(value = "export")
|
|
|
@ApiOperation(value = "导出告警信息")
|
|
|
public void exportRealTime(AlarmTypeDetailsDto dto, HttpServletResponse response) throws Exception {
|
|
|
EasyExcelUtil.excelWrite(response, AlarmTypeDetailsEntityVo.class, "告警记录", alarmTypeDetailsService.selectList(dto));
|