From a0d037be5164edde3fbcafd4099cab2c08470bc1 Mon Sep 17 00:00:00 2001 From: zhangwenqing Date: Tue, 4 Sep 2018 11:42:48 +0800 Subject: [PATCH] =?UTF-8?q?1.Media=20Addr=E5=88=A0=E9=99=A4=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E4=BF=AE=E6=94=B9=20=202.App=20byte/header=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../configuration/AvContentCfgService.java | 16 ++++++++++++---- .../WEB-INF/views/cfg/app/appByteCfgList.jsp | 2 +- .../WEB-INF/views/cfg/app/appHeaderCfgList.jsp | 2 +- .../views/cfg/intercept/interceptList.jsp | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/nis/web/service/configuration/AvContentCfgService.java b/src/main/java/com/nis/web/service/configuration/AvContentCfgService.java index 807a9526b..7e3e73fc6 100644 --- a/src/main/java/com/nis/web/service/configuration/AvContentCfgService.java +++ b/src/main/java/com/nis/web/service/configuration/AvContentCfgService.java @@ -747,8 +747,10 @@ public class AvContentCfgService extends BaseService{ String[] idArray = ids.split(","); for(String id :idArray){ BaseIpCfg entity = new BaseIpCfg(); + entity.setCfgId(Long.parseLong(id)); + BaseIpCfg ipCfg = this.getContIpCfgById(entity);// 获取CompileId + entity.setCompileId(ipCfg.getCompileId()); entity.setTableName("av_cont_ip_cfg"); - entity.setCompileId(Integer.parseInt(id)); entity.setFunctionId(functionId); entity.setIsAudit(isAudit); entity.setIsValid(isValid); @@ -1027,8 +1029,10 @@ public class AvContentCfgService extends BaseService{ String[] idArray = ids.split(","); for(String id :idArray){ BaseIpCfg entity = new BaseIpCfg(); + entity.setCfgId(Long.parseLong(id)); + BaseIpCfg picIpCfg = this.getPicIpCfgById(entity);// 获取CompileId + entity.setCompileId(picIpCfg.getCompileId()); entity.setTableName("av_pic_ip_cfg"); - entity.setCompileId(Integer.parseInt(id)); entity.setFunctionId(functionId); entity.setIsAudit(isAudit); entity.setIsValid(isValid); @@ -1283,8 +1287,10 @@ public class AvContentCfgService extends BaseService{ String[] idArray = ids.split(","); for(String id :idArray){ BaseStringCfg entity = new BaseStringCfg(); + entity.setCfgId(Long.parseLong(id)); + BaseStringCfg urlCfg = this.getContUrlCfgById(entity);// 获取CompileId + entity.setCompileId(urlCfg.getCompileId()); entity.setTableName("av_cont_url_cfg"); - entity.setCompileId(Integer.parseInt(id)); entity.setFunctionId(functionId); entity.setIsAudit(isAudit); entity.setIsValid(isValid); @@ -1528,8 +1534,10 @@ public class AvContentCfgService extends BaseService{ String[] idArray = ids.split(","); for(String id :idArray){ BaseStringCfg entity = new BaseStringCfg(); + entity.setCfgId(Long.parseLong(id)); + BaseStringCfg picUrlCfg = this.getPicUrlCfgById(entity);// 获取CompileId + entity.setCompileId(picUrlCfg.getCompileId()); entity.setTableName("av_pic_url_cfg"); - entity.setCompileId(Integer.parseInt(id)); entity.setFunctionId(functionId); entity.setIsAudit(isAudit); entity.setIsValid(isValid); diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appByteCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appByteCfgList.jsp index b18429fc2..ae86714d6 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appByteCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appByteCfgList.jsp @@ -298,7 +298,7 @@ ${cfg.cfgDesc } ${cfg.appName } - ${cfg.bytes } + ${fns:abbr(cfg.bytes,13)} diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appHeaderCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appHeaderCfgList.jsp index 4467ebca5..8fc042bba 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appHeaderCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appHeaderCfgList.jsp @@ -96,7 +96,7 @@
- + diff --git a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp index cd8018f22..b69b36f39 100644 --- a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp @@ -481,7 +481,7 @@ - <<%-- td audit="${indexCfg.isAudit}" functionId="${indexCfg.functionId}" compileId="${indexCfg.compileId}" action="${indexCfg.action}">
--%> + <%--
--%> ${indexCfg.creatorName } ${indexCfg.editorName }