From 0ffcb7d84d877e449030749d3fea7548e219ce8e Mon Sep 17 00:00:00 2001 From: zxc <1272811460@qq.com> Date: Tue, 22 Sep 2020 09:28:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=BD=91=E6=A0=BC=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/epmet/constant/ExtractConstant.java | 2 ++ .../evaluationindex/extract/impl/CalGridIndexServiceImpl.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/constant/ExtractConstant.java b/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/constant/ExtractConstant.java index b8ee4f09ee..1616d2baa1 100644 --- a/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/constant/ExtractConstant.java +++ b/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/constant/ExtractConstant.java @@ -32,4 +32,6 @@ public interface ExtractConstant { String EVALUATE_PERFECT = "perfect"; + String CUSTOMER_INFO_NULL = "客户【%s】未查出网格信息"; + } diff --git a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/impl/CalGridIndexServiceImpl.java b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/impl/CalGridIndexServiceImpl.java index 9a7ab48dc8..20a3f01d05 100644 --- a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/impl/CalGridIndexServiceImpl.java +++ b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/extract/impl/CalGridIndexServiceImpl.java @@ -91,7 +91,7 @@ public class CalGridIndexServiceImpl implements CalGridIndexService { public Boolean calGridIndexPartyAbility(String customerId, String monthId) { List result = governAbilityDao.selectAllGridInfoToParty(customerId); if (CollectionUtils.isEmpty(result)){ - log.warn("客户【"+customerId+"】未查出网格信息"); + log.warn(String.format(ExtractConstant.CUSTOMER_INFO_NULL,customerId)); return true; } // 网格群众用户数 , 网格党员用户数 @@ -246,7 +246,7 @@ public class CalGridIndexServiceImpl implements CalGridIndexService { List result = governAbilityDao.selectAllGridInfo(customerId); if (CollectionUtils.isEmpty(result)){ - log.warn("客户【"+customerId+"】未查出网格信息"); + log.warn(String.format(ExtractConstant.CUSTOMER_INFO_NULL,customerId)); return true; } //网格总议题数目,网格人均议题数目