| | |
| | | res.add(temp); |
| | | } |
| | | pageInfo.setRecords(res); |
| | | return R.ok(); |
| | | return R.ok(pageInfo); |
| | | } |
| | | @ApiOperation(value = "根据片区id查询保洁员列表 不分页") |
| | | @GetMapping(value = "/listCleaner") |
| | |
| | | @GetMapping("/import-template") |
| | | public void importTemplate() { |
| | | List<TLocationImportExcel> locationImportExcels = new ArrayList<>(); |
| | | TLocationImportExcel tLocationImportExcel = new TLocationImportExcel(); |
| | | locationImportExcels.add(tLocationImportExcel); |
| | | Workbook workbook = ExcelExportUtil.exportExcel(new ExportParams(), TLocationImportExcel.class, locationImportExcels); |
| | | HttpServletResponse response = WebUtils.response(); |
| | | ServletOutputStream outputStream = null; |