修改dns日志字段名

This commit is contained in:
chenjinsong
2018-08-01 09:41:20 +08:00
parent 066f1c3d1d
commit 6bd5be9722
3 changed files with 53 additions and 53 deletions

View File

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

View File

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