|
@@ -577,7 +577,7 @@ public class IotDeviceController {
|
|
|
public void exportIotDeviceExcel(@Valid IotDevicePageReqVO pageReqVO,@Valid SortablePageParam pageParam,
|
|
public void exportIotDeviceExcel(@Valid IotDevicePageReqVO pageReqVO,@Valid SortablePageParam pageParam,
|
|
|
HttpServletResponse response) throws IOException {
|
|
HttpServletResponse response) throws IOException {
|
|
|
pageReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
|
|
pageReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
|
|
|
- List<IotDeviceDO> list = iotDeviceService.getIotDevicePage(pageReqVO, pageParam).getList();
|
|
|
|
|
|
|
+ List<IotDeviceDO> list = iotDeviceService.getAllDevices(pageReqVO);
|
|
|
// 导出 Excel
|
|
// 导出 Excel
|
|
|
ExcelUtils.write(response, "设备台账.xls", "数据", IotDeviceRespVO.class,
|
|
ExcelUtils.write(response, "设备台账.xls", "数据", IotDeviceRespVO.class,
|
|
|
BeanUtils.toBean(list, IotDeviceRespVO.class));
|
|
BeanUtils.toBean(list, IotDeviceRespVO.class));
|