From afd792b16db7d92916923bd2bcd643974d1c6e94 Mon Sep 17 00:00:00 2001 From: duandongmei Date: Fri, 11 Jan 2019 12:07:04 +0600 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=93=E5=AD=98=E7=9A=84do?= =?UTF-8?q?log=E9=BB=98=E8=AE=A4=E4=B8=BA0=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E7=99=BD=E5=90=8D=E5=8D=95userregion?= =?UTF-8?q?=E6=97=A0=E9=BB=98=E8=AE=A4=E5=80=BCbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nis/web/service/configuration/CachePolicyService.java | 5 +++++ src/main/webapp/WEB-INF/views/cfg/proxy/cache/form.jsp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/nis/web/service/configuration/CachePolicyService.java b/src/main/java/com/nis/web/service/configuration/CachePolicyService.java index 718e32325..355363033 100644 --- a/src/main/java/com/nis/web/service/configuration/CachePolicyService.java +++ b/src/main/java/com/nis/web/service/configuration/CachePolicyService.java @@ -362,6 +362,11 @@ public class CachePolicyService extends CrudService userRegion=Constants.USER_REGION_PLACEHOLDER; }*/ maatCfg.setUserRegion(entity.getUserRegion1()); + + if(StringUtil.isEmpty(maatCfg.getUserRegion())){ + maatCfg.setUserRegion(Constants.USER_REGION_PLACEHOLDER); + } + configCompileList.add(maatCfg); maatBean.setConfigCompileList(configCompileList); maatBean.setAuditTime(entity.getAuditTime()); diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/cache/form.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/cache/form.jsp index c8f51caaf..0cc340f2c 100644 --- a/src/main/webapp/WEB-INF/views/cfg/proxy/cache/form.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/proxy/cache/form.jsp @@ -339,7 +339,7 @@ - +