| | |
| | | public R exportRealCompany(@RequestBody ExportRealCompanyExcelDTO exportRealCompanyExcelDTO) { |
| | | exportRealCompanyExcelDTO.setCommunityId(this.getCommunityId()); |
| | | String url = excelUrl; |
| | | String uuid = UUID.randomUUID().toString().replace("-", ""); |
| | | String name = uuid + ".xlsx"; |
| | | // String uuid = UUID.randomUUID().toString().replace("-", ""); |
| | | String name = "实有单位导出数据.xlsx"; |
| | | String ftpUrl = "/mnt/data/web/excel/"; |
| | | // 用户搜索了就下载搜索的用户否则下载所有用户 |
| | | R r = communityService.exportRealCompany(exportRealCompanyExcelDTO); |
| | |
| | | public R exportRealAssets(@RequestBody ExportRealAssetsExcelDTO exportRealAssetsExcelDTO) { |
| | | exportRealAssetsExcelDTO.setCommunityId(this.getCommunityId()); |
| | | String url = excelUrl; |
| | | String uuid = UUID.randomUUID().toString().replace("-", ""); |
| | | String name = uuid + ".xlsx"; |
| | | // String uuid = UUID.randomUUID().toString().replace("-", ""); |
| | | // String name = uuid + ".xlsx"; |
| | | String name = "实有资产导出数据.xlsx"; |
| | | String ftpUrl = "/mnt/data/web/excel/"; |
| | | // 用户搜索了就下载搜索的用户否则下载所有用户 |
| | | R r = communityService.exportRealAssets(exportRealAssetsExcelDTO); |