修改PptpLogController.

This commit is contained in:
dell
2018-07-03 12:58:42 +08:00
parent f6d30effe0
commit 2b1b59de4a
2 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
protected Integer cfgId; protected Integer cfgId;
protected String foundTime; //发现时间timestamp protected String foundTime; //发现时间timestamp
protected String recvTime; //接收时间timestamp protected String recvTime; //接收时间timestamp
protected String TransProto; //协议类型从字典LOG_PROTOCOL取值 protected String transProto; //协议类型从字典LOG_PROTOCOL取值
protected Integer addrType; //ip地址类型从字典IP_TYPE取值 protected Integer addrType; //ip地址类型从字典IP_TYPE取值
protected String dIp; //服务端ip地址 protected String dIp; //服务端ip地址
protected String sIp; //客户端ip地址 protected String sIp; //客户端ip地址
@@ -51,10 +51,10 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
this.cfgId = cfgId; this.cfgId = cfgId;
} }
public String getTransProto() { public String getTransProto() {
return TransProto; return transProto;
} }
public void setTransProto(String transProto) { public void setTransProto(String transProto) {
TransProto = transProto; this.transProto = transProto;
} }
public Integer getAddrType() { public Integer getAddrType() {
return addrType; return addrType;
@@ -167,7 +167,7 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
@Override @Override
public String toString() { public String toString() {
return "BaseLogEntity [cfgId=" + cfgId + ", foundTime=" + foundTime + ", recvTime=" + recvTime + ", TransProto=" return "BaseLogEntity [cfgId=" + cfgId + ", foundTime=" + foundTime + ", recvTime=" + recvTime + ", TransProto="
+ TransProto + ", addrType=" + addrType + ", dIp=" + dIp + ", sIp=" + sIp + ", dPort=" + dPort + transProto + ", addrType=" + addrType + ", dIp=" + dIp + ", sIp=" + sIp + ", dPort=" + dPort
+ ", sPort=" + sPort + ", service=" + service + ", entranceId=" + entranceId + ", deviceId=" + deviceId + ", sPort=" + sPort + ", service=" + service + ", entranceId=" + entranceId + ", deviceId=" + deviceId
+ ", direction=" + direction + ", streamDir=" + streamDir + ", capIp=" + capIp + ", addrList=" + ", direction=" + direction + ", streamDir=" + streamDir + ", capIp=" + capIp + ", addrList="
+ addrList + ", userRegion=" + userRegion + ", functionId=" + functionId + ", action=" + action + addrList + ", userRegion=" + userRegion + ", functionId=" + functionId + ", action=" + action

View File

@@ -55,7 +55,7 @@ public class PptpLogController extends BaseController {
} }
model.addAttribute("page", page); model.addAttribute("page", page);
} }
} catch (JsonSyntaxException e) { } catch (Exception e) {
logger.info("PPTP日志查询失败", e); logger.info("PPTP日志查询失败", e);
addMessage(model, e.getMessage()); addMessage(model, e.getMessage());
} }