修改dns日志字段名
This commit is contained in:
@@ -9,10 +9,10 @@ public class NtcDnsLog extends BaseLogEntity<NtcDnsLog> {
|
||||
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<NtcDnsLog> {
|
||||
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<NtcDnsLog> {
|
||||
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<NtcDnsLog> {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -37,8 +37,8 @@ public class DnsLogController extends BaseController {
|
||||
Map<String, Object> params = new HashMap<String, Object>();
|
||||
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);
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label><spring:message code="qname"/>:</label>
|
||||
<input name="qName" type="text" class="form-control" value="${log.qName }"/>
|
||||
<input name="qname" type="text" class="form-control" value="${log.qname }"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -232,16 +232,16 @@
|
||||
</td>
|
||||
<td>
|
||||
<c:forEach items="${fns:getDictList('DNS_QCLASS')}" var="qclass">
|
||||
<c:if test="${qclass.itemCode eq _log.qClass}">${qclass.itemValue}</c:if>
|
||||
<c:if test="${qclass.itemCode eq _log.qclass}">${qclass.itemValue}</c:if>
|
||||
</c:forEach>
|
||||
</td>
|
||||
<td>
|
||||
<c:forEach items="${fns:getDictList('DNS_OPCODE')}" var="opcode">
|
||||
<c:if test="${opcode.itemCode eq _log.opCode}">${opcode.itemValue}</c:if>
|
||||
<c:if test="${opcode.itemCode eq _log.opcode}">${opcode.itemValue}</c:if>
|
||||
</c:forEach>
|
||||
</td>
|
||||
<td title="${_log.qName }">${fns:abbr(_log.qName, 30)}</td>
|
||||
<td>${_log.cName }</td>
|
||||
<td title="${_log.qname }">${fns:abbr(_log.qname, 30)}</td>
|
||||
<td>${_log.cname }</td>
|
||||
<%-- <td>${_log.dnsSub }</td> --%>
|
||||
|
||||
<td>${_log.capIp }</td>
|
||||
|
||||
Reference in New Issue
Block a user