|
|
@ -219,19 +219,4 @@ public class DcWarningController extends BaseController |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 导出 |
|
|
|
* |
|
|
|
* @param response 响应 |
|
|
|
* @param dcWarning 导入数据结果 |
|
|
|
*/ |
|
|
|
// @PreAuthorize("@ss.hasPermi('iot:warning:export')")
|
|
|
|
@Log(title = "导出事件", businessType = BusinessType.EXPORT) |
|
|
|
@PostMapping("export") |
|
|
|
public void exportDevice(HttpServletResponse response, DcWarning dcWarning) { |
|
|
|
List<DcWarning> list = dcWarningService.export(dcWarning); |
|
|
|
ExcelUtil<DcWarning> util = new ExcelUtil<>(DcWarning.class); |
|
|
|
util.exportExcel(response, list, UniversalEnum.EVENT_DATA.getValue()); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|