|
|
@ -67,6 +67,7 @@ public class StatusController extends BaseController { |
|
|
|
@PostMapping("/export") |
|
|
|
public void export(HttpServletResponse response, Status status) |
|
|
|
{ |
|
|
|
status.setTypes(status.getType().split(",")); |
|
|
|
List<Status> listStatus = statusService.export(status); |
|
|
|
ExcelUtil<Status> util = new ExcelUtil<>(Status.class); |
|
|
|
util.exportExcel(response, listStatus, "设备状态列表"); |
|
|
|