From 5f8f109a225f6fc5fadd0cad60826049f18e19d8 Mon Sep 17 00:00:00 2001 From: leijun Date: Thu, 17 Jan 2019 14:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E8=81=94=E6=97=A5=E5=BF=97=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=BF=90=E8=90=A5=E5=95=86=E6=A3=80=E7=B4=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/nis/domain/log/NtcConnRecordLog.java | 11 +++++++ .../log/ntc/NtcConnRecordLogController.java | 11 ++++--- .../views/log/ntc/connRecordLogList.jsp | 33 +++++++++++++++---- 3 files changed, 43 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/nis/domain/log/NtcConnRecordLog.java b/src/main/java/com/nis/domain/log/NtcConnRecordLog.java index a8d1ca1fe..f056a776e 100644 --- a/src/main/java/com/nis/domain/log/NtcConnRecordLog.java +++ b/src/main/java/com/nis/domain/log/NtcConnRecordLog.java @@ -28,6 +28,17 @@ public class NtcConnRecordLog extends BaseLogEntity { @ExcelField(title = "Total Byte", sort = 49) protected String totalByte; + protected String ispCode;//运营商 + + + + public String getIspCode() { + return ispCode; + } + + public void setIspCode(String ispCode) { + this.ispCode = ispCode; + } public String getTotalPkt() { return totalPkt; diff --git a/src/main/java/com/nis/web/controller/log/ntc/NtcConnRecordLogController.java b/src/main/java/com/nis/web/controller/log/ntc/NtcConnRecordLogController.java index 705131779..acf3f175b 100644 --- a/src/main/java/com/nis/web/controller/log/ntc/NtcConnRecordLogController.java +++ b/src/main/java/com/nis/web/controller/log/ntc/NtcConnRecordLogController.java @@ -98,8 +98,9 @@ public class NtcConnRecordLogController extends BaseController { if (StringUtils.isNotBlank(log.getdSubscribeId())) { params.put("searchDSubscribeId", log.getdSubscribeId()); } - - + if (StringUtils.isNotBlank(log.getIspCode())) { + params.put("searchIspCode", log.getIspCode()); + } model.addAttribute("appList", appList); model.addAttribute("protocolList", protocolList); model.addAttribute("webList", webList); @@ -240,9 +241,9 @@ public class NtcConnRecordLogController extends BaseController { if (StringUtils.isNotBlank(log.getdSubscribeId())) { params.put("searchDSubscribeId", log.getdSubscribeId()); } - - - + if (StringUtils.isNotBlank(log.getIspCode())) { + params.put("searchIspCode", log.getIspCode()); + } model.addAttribute("appList", appList); model.addAttribute("protocolList", protocolList); model.addAttribute("webList", webList); diff --git a/src/main/webapp/WEB-INF/views/log/ntc/connRecordLogList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/connRecordLogList.jsp index f639f7549..bce69e6a9 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/connRecordLogList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/connRecordLogList.jsp @@ -44,6 +44,16 @@ $('#appSelect').selectpicker('render'); } + $('#ispSelect').selectpicker(); + var app = $("#isps").val(); //回选的数据 + if (app !=null && app !='') { + var seasonlist = app.split(","); + $('#ispSelect').selectpicker('val',seasonlist); + $('#ispSelect').selectpicker('render'); + } + + + $('#protoSelect').selectpicker(); var proto = $("#protos").val(); //回选的数据 if (proto !=null && proto !='') { @@ -127,6 +137,7 @@ + +
+
+ + +
+
+ +
" class="selectpicker form-control " data-max-options="10" data-selected-text-format="count > 3" multiple data-live-search="true" data-live-search-placeholder=""> - @@ -290,7 +311,6 @@
- -
-