Browse Source

告警导出

develop
wangsixiang 1 year ago
parent
commit
5dd24ce5ca
  1. 2
      zc-business/src/main/java/com/zc/business/controller/DcWarningController.java

2
zc-business/src/main/java/com/zc/business/controller/DcWarningController.java

@ -55,7 +55,7 @@ public class DcWarningController extends BaseController
@PreAuthorize("@ss.hasPermi('business:warning:export')")
@Log(title = "预警信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, DcWarning dcWarning)
public void export(HttpServletResponse response,@RequestBody DcWarning dcWarning)
{
List<DcWarning> list = dcWarningService.export(dcWarning);
ExcelUtil<DcWarning> util = new ExcelUtil<>(DcWarning.class);

Loading…
Cancel
Save