From 101372efd54d63168ef81f0b724f0ea3d41d4ed3 Mon Sep 17 00:00:00 2001 From: wangxin Date: Mon, 15 Oct 2018 16:18:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DcopyProperties=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E5=B1=9E=E6=80=A7=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/nis/web/service/configuration/IpCfgService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/nis/web/service/configuration/IpCfgService.java b/src/main/java/com/nis/web/service/configuration/IpCfgService.java index e331dc1cb..fda2dc950 100644 --- a/src/main/java/com/nis/web/service/configuration/IpCfgService.java +++ b/src/main/java/com/nis/web/service/configuration/IpCfgService.java @@ -560,7 +560,9 @@ public class IpCfgService extends CrudService { } } for(IpPortCfg cfg:entity.getIpPortList()) { - BeanUtils.copyProperties(entity, cfg, new String[]{"userRegion1","cfgId"}); + BeanUtils.copyProperties(entity, cfg, new String[]{"userRegion1","userRegion2","userRegion3","userRegion4","userRegion5","ipType","direction", + "protocol","protocolId","areaEffectiveIds","cfgRegionCode", + "cfgType","ipPattern","srcIpAddress","portPattern","srcPort","destIpAddress","destPort"}); cfg.setTableName(IpPortCfg.getTablename()); ipCfgDao.auditCfg(cfg); }