From 62eca58e7f45a4ddb0d63ed2232e0ff6cc93efb1 Mon Sep 17 00:00:00 2001 From: wangxin Date: Tue, 22 May 2018 17:24:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BA=E5=9F=9FIP=E9=83=A8=E5=88=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/dao/configuration/AreaIpCfgDao.java | 11 ---- .../web/dao/configuration/AreaIpCfgDao.xml | 58 ++++------------- .../nis/web/dao/configuration/IpCfgDao.xml | 62 ++++++++++++------- .../webapp/WEB-INF/include/form/areaInfo.jsp | 51 ++++++++++----- 4 files changed, 88 insertions(+), 94 deletions(-) diff --git a/src/main/java/com/nis/web/dao/configuration/AreaIpCfgDao.java b/src/main/java/com/nis/web/dao/configuration/AreaIpCfgDao.java index 117d36d35..bd4532356 100644 --- a/src/main/java/com/nis/web/dao/configuration/AreaIpCfgDao.java +++ b/src/main/java/com/nis/web/dao/configuration/AreaIpCfgDao.java @@ -15,16 +15,5 @@ import com.nis.web.dao.MyBatisDao; */ @MyBatisDao public interface AreaIpCfgDao extends CrudDao{ - public AreaIpCfg getById(@Param("cfgId")Long id) ; - public List findList(AreaIpCfg entity) ; public List getByCompileId(@Param("compileId") int compileId) ; - public int insert(AreaIpCfg entity) ; - public int updateByPrimaryKeySelective(AreaIpCfg entity) ; - public int updateValid(AreaIpCfg entity) ; - public int audit(AreaIpCfg entity) ; - public int getIsValid(@Param("cfgId")Long id); - public int getIsValid(AreaIpCfg entity); - public int getIsAudit(@Param("cfgId")Long id); - public int getIsAudit(AreaIpCfg entity); - public int deleteByCompileId(AreaIpCfg entity); } diff --git a/src/main/java/com/nis/web/dao/configuration/AreaIpCfgDao.xml b/src/main/java/com/nis/web/dao/configuration/AreaIpCfgDao.xml index d25e9b549..6bfc80b0c 100644 --- a/src/main/java/com/nis/web/dao/configuration/AreaIpCfgDao.xml +++ b/src/main/java/com/nis/web/dao/configuration/AreaIpCfgDao.xml @@ -4,15 +4,15 @@ + + - - + + + + - - - - - + @@ -33,50 +33,14 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CFG_ID, CFG_DESC, IP_TYPE, SRC_IP, SRC_IP_MASK, SRC_PORT, - SRC_PORT_MASK ,DST_IP ,DST_IP_MASK, DST_PORT, DST_PORT_MASK, - DIRECTION,PROTOCOL,PROTOCOL_ID,ACTION,IS_VALID,IS_AUDIT, + CFG_ID,CFG_DESC,CFG_REGION_CODE,CFG_TYPE, IP_TYPE, IP_PATTERN, SRC_IP_ADDRESS,DEST_IP_ADDRESS, PORT_PATTERN,SRC_PORT, + DEST_PORT,DIRECTION,PROTOCOL,PROTOCOL_ID,ACTION,IS_VALID,IS_AUDIT, CREATOR_ID,CREATE_TIME,EDITOR_ID,EDIT_TIME,AUDITOR_ID,AUDIT_TIME, SERVICE_ID,REQUEST_ID,COMPILE_ID,IS_AREA_EFFECTIVE,CLASSIFY, - ATTRIBUTE,LABLE,AREA_EFFECTIVE_IDS + ATTRIBUTE,LABLE,AREA_EFFECTIVE_IDS,FUNCTION_ID +
-
-
- -
- -
-
-
-
- -
+
+
+
+
+ +
+ +
+
+
+
- +
- +
-
+
+
+
+
+
+
+
+ +
+ +
+
+
+
+
+
+ +
+ +
+