From 33883d0896fca9b5a9c05d0d1c3738c21e6c697b Mon Sep 17 00:00:00 2001 From: sunyuchao Date: Wed, 22 Jun 2022 16:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/epmet/controller/IcCityManagementController.java | 6 +++--- .../com/epmet/controller/IcPublicServiceController.java | 8 ++++---- .../epmet/controller/IcSuperiorResourceController.java | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcCityManagementController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcCityManagementController.java index 7cde94ba86..eeec23cb96 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcCityManagementController.java +++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcCityManagementController.java @@ -138,7 +138,7 @@ public class IcCityManagementController implements ResultDataResolver { formDTO.setPageNo(NumConstant.ONE); formDTO.setPageSize(NumConstant.TEN_THOUSAND); try { - String fileName = "优势资源管理" + DateUtils.format(new Date()) + ".xlsx"; + String fileName = "城市管理" + DateUtils.format(new Date()) + ".xlsx"; excelWriter = EasyExcel.write(ExcelUtils.getOutputStreamForExcel(fileName, response), IcCityManagementExcel.class).build(); WriteSheet writeSheet = EasyExcel.writerSheet("Sheet1").registerWriteHandler(new FreezeAndFilter()).build(); PageData data = null; @@ -200,8 +200,8 @@ public class IcCityManagementController implements ResultDataResolver { ImportTaskUtils.createImportTask(originalFilename, ImportTaskConstants.IC_CITY_MANAGEMENT), ServiceConstant.EPMET_COMMON_SERVICE, EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), - "excel导入优势资源管理信息错误", - "导入势资源管理信息失败"); + "excel导入城市管理信息错误", + "导入城市管理信息失败"); // 3.执行导入 icCityManagementService.importExcel(fileSavePath, rstData.getTaskId()); diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcPublicServiceController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcPublicServiceController.java index add08dbce3..92b2624172 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcPublicServiceController.java +++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcPublicServiceController.java @@ -139,7 +139,7 @@ public class IcPublicServiceController implements ResultDataResolver { formDTO.setPageNo(NumConstant.ONE); formDTO.setPageSize(NumConstant.TEN_THOUSAND); try { - String fileName = "优势资源管理" + DateUtils.format(new Date()) + ".xlsx"; + String fileName = "公共服务管理" + DateUtils.format(new Date()) + ".xlsx"; excelWriter = EasyExcel.write(ExcelUtils.getOutputStreamForExcel(fileName, response), IcPublicServiceExcel.class).build(); WriteSheet writeSheet = EasyExcel.writerSheet("Sheet1").registerWriteHandler(new FreezeAndFilter()).build(); PageData data = null; @@ -179,7 +179,7 @@ public class IcPublicServiceController implements ResultDataResolver { fileSavePath = importPath.resolve(UUID.randomUUID().toString().concat(extName)); } catch (IOException e) { String errorMsg = ExceptionUtils.getErrorStackTrace(e); - log.error("【优势资源管理导入】创建临时存储文件失败:{}", errorMsg); + log.error("【公共服务管理导入】创建临时存储文件失败:{}", errorMsg); throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "文件上传失败", "文件上传失败"); } @@ -201,8 +201,8 @@ public class IcPublicServiceController implements ResultDataResolver { ImportTaskUtils.createImportTask(originalFilename, ImportTaskConstants.IC_PUBLIC_SERVICE), ServiceConstant.EPMET_COMMON_SERVICE, EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), - "excel导入优势资源管理信息错误", - "导入势资源管理信息失败"); + "excel导入公共服务管理信息错误", + "导入公共服务管理信息失败"); // 3.执行导入 icPublicServiceService.importExcel(fileSavePath, rstData.getTaskId()); diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcSuperiorResourceController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcSuperiorResourceController.java index 57fb3f1d60..147a185197 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcSuperiorResourceController.java +++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/IcSuperiorResourceController.java @@ -202,7 +202,7 @@ public class IcSuperiorResourceController implements ResultDataResolver { ServiceConstant.EPMET_COMMON_SERVICE, EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "excel导入优势资源管理信息错误", - "导入势资源管理信息失败"); + "导入优势资源管理信息失败"); // 3.执行导入 icSuperiorResourceService.importExcel(fileSavePath, rstData.getTaskId());