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 @@
- -
-