diff --git a/src/main/java/com/nis/domain/log/NtcDnsLog.java b/src/main/java/com/nis/domain/log/NtcDnsLog.java index 41ab67a49..9b627ae4d 100644 --- a/src/main/java/com/nis/domain/log/NtcDnsLog.java +++ b/src/main/java/com/nis/domain/log/NtcDnsLog.java @@ -9,10 +9,10 @@ public class NtcDnsLog extends BaseLogEntity { private Integer ra; private String rr; private Integer qType; - private Integer qClass; - private Integer opCode; - private String qName; - private String cName; + private Integer qclass; + private Integer opcode; + private String qname; + private String cname; private Integer dnsSub; /*以下字段无需反馈到界面*/ @@ -20,32 +20,6 @@ public class NtcDnsLog extends BaseLogEntity { private Integer cheatRcode; private String cheatStrategy; private String cheatRr; - - - public String getCheatType() { - return cheatType; - } - public void setCheatType(String cheatType) { - this.cheatType = cheatType; - } - public Integer getCheatRcode() { - return cheatRcode; - } - public void setCheatRcode(Integer cheatRcode) { - this.cheatRcode = cheatRcode; - } - public String getCheatStrategy() { - return cheatStrategy; - } - public void setCheatStrategy(String cheatStrategy) { - this.cheatStrategy = cheatStrategy; - } - public String getCheatRr() { - return cheatRr; - } - public void setCheatRr(String cheatRr) { - this.cheatRr = cheatRr; - } public Integer getQr() { return qr; } @@ -76,29 +50,29 @@ public class NtcDnsLog extends BaseLogEntity { public void setqType(Integer qType) { this.qType = qType; } - public Integer getqClass() { - return qClass; + public Integer getQclass() { + return qclass; } - public void setqClass(Integer qClass) { - this.qClass = qClass; + public void setQclass(Integer qclass) { + this.qclass = qclass; } - public Integer getOpCode() { - return opCode; + public Integer getOpcode() { + return opcode; } - public void setOpCode(Integer opCode) { - this.opCode = opCode; + public void setOpcode(Integer opcode) { + this.opcode = opcode; } - public String getqName() { - return qName; + public String getQname() { + return qname; } - public void setqName(String qName) { - this.qName = qName; + public void setQname(String qname) { + this.qname = qname; } - public String getcName() { - return cName; + public String getCname() { + return cname; } - public void setcName(String cName) { - this.cName = cName; + public void setCname(String cname) { + this.cname = cname; } public Integer getDnsSub() { return dnsSub; @@ -106,4 +80,30 @@ public class NtcDnsLog extends BaseLogEntity { public void setDnsSub(Integer dnsSub) { this.dnsSub = dnsSub; } + public String getCheatType() { + return cheatType; + } + public void setCheatType(String cheatType) { + this.cheatType = cheatType; + } + public Integer getCheatRcode() { + return cheatRcode; + } + public void setCheatRcode(Integer cheatRcode) { + this.cheatRcode = cheatRcode; + } + public String getCheatStrategy() { + return cheatStrategy; + } + public void setCheatStrategy(String cheatStrategy) { + this.cheatStrategy = cheatStrategy; + } + public String getCheatRr() { + return cheatRr; + } + public void setCheatRr(String cheatRr) { + this.cheatRr = cheatRr; + } + + } diff --git a/src/main/java/com/nis/web/controller/log/ntc/DnsLogController.java b/src/main/java/com/nis/web/controller/log/ntc/DnsLogController.java index 854c25f3a..16665883a 100644 --- a/src/main/java/com/nis/web/controller/log/ntc/DnsLogController.java +++ b/src/main/java/com/nis/web/controller/log/ntc/DnsLogController.java @@ -37,8 +37,8 @@ public class DnsLogController extends BaseController { Map params = new HashMap(); params.put("pageSize", page.getPageSize()); params.put("pageNo", page.getPageNo()); - if (StringUtils.isNotBlank(log.getqName())) { - params.put("searchQName", log.getqName()); + if (StringUtils.isNotBlank(log.getQname())) { + params.put("searchQName", log.getQname()); } initLogSearchValue(log, params); diff --git a/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp index b4f6964ed..435c0e764 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp @@ -150,7 +150,7 @@
- +
@@ -232,16 +232,16 @@ - ${qclass.itemValue} + ${qclass.itemValue} - ${opcode.itemValue} + ${opcode.itemValue} - ${fns:abbr(_log.qName, 30)} - ${_log.cName } + ${fns:abbr(_log.qname, 30)} + ${_log.cname } <%-- ${_log.dnsSub } --%> ${_log.capIp }