|
@@ -3,13 +3,7 @@ package com.sooka.system.domain;
|
|
|
import com.sooka.common.annotation.Excel;
|
|
|
import com.sooka.common.constant.Constants;
|
|
|
import com.sooka.common.core.domain.BaseEntity;
|
|
|
-import com.sooka.common.core.text.Convert;
|
|
|
-import com.sooka.common.utils.CacheUtils;
|
|
|
-import com.sooka.system.service.ITULogService;
|
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
-import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
-import org.apache.shiro.cache.Cache;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import lombok.Data;
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -18,6 +12,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
* @author lei
|
|
|
* @date 2021-07-06
|
|
|
*/
|
|
|
+@Data
|
|
|
public class TULog extends BaseEntity
|
|
|
{
|
|
|
private static final long serialVersionUID = 1L;
|
|
@@ -48,6 +43,14 @@ public class TULog extends BaseEntity
|
|
|
@Excel(name = "调用接口名")
|
|
|
private String interfaceinfoName;
|
|
|
|
|
|
+ /** 调用者部门ID */
|
|
|
+ @Excel(name = "调用者部门ID")
|
|
|
+ private String deptId;
|
|
|
+
|
|
|
+ /** 调用者部门 */
|
|
|
+ @Excel(name = "调用者部门")
|
|
|
+ private String deptName;
|
|
|
+
|
|
|
/** ip地址 */
|
|
|
@Excel(name = "ip地址")
|
|
|
private String ipaddress;
|
|
@@ -84,7 +87,6 @@ public class TULog extends BaseEntity
|
|
|
@Excel(name = "异常记录")
|
|
|
private String exceptionLog;
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 获取cache name
|
|
|
*
|
|
@@ -104,175 +106,4 @@ public class TULog extends BaseEntity
|
|
|
return Constants.LOG_TOTAL_KEY;
|
|
|
}
|
|
|
|
|
|
- public void setId(String id)
|
|
|
- {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
-
|
|
|
- public String getId()
|
|
|
- {
|
|
|
- return id;
|
|
|
- }
|
|
|
- public void setStatus(String status)
|
|
|
- {
|
|
|
- this.status = status;
|
|
|
- }
|
|
|
-
|
|
|
- public String getStatus()
|
|
|
- {
|
|
|
- return status;
|
|
|
- }
|
|
|
- public void setDelFlag(String delFlag)
|
|
|
- {
|
|
|
- this.delFlag = delFlag;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDelFlag()
|
|
|
- {
|
|
|
- return delFlag;
|
|
|
- }
|
|
|
- public void setLoginUser(Long loginUser)
|
|
|
- {
|
|
|
- this.loginUser = loginUser;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getLoginUser()
|
|
|
- {
|
|
|
- return loginUser;
|
|
|
- }
|
|
|
- public void setLoginName(String loginName)
|
|
|
- {
|
|
|
- this.loginName = loginName;
|
|
|
- }
|
|
|
-
|
|
|
- public String getLoginName()
|
|
|
- {
|
|
|
- return loginName;
|
|
|
- }
|
|
|
- public void setInterfaceinfoId(String interfaceinfoId)
|
|
|
- {
|
|
|
- this.interfaceinfoId = interfaceinfoId;
|
|
|
- }
|
|
|
-
|
|
|
- public String getInterfaceinfoId()
|
|
|
- {
|
|
|
- return interfaceinfoId;
|
|
|
- }
|
|
|
- public void setInterfaceinfoName(String interfaceinfoName)
|
|
|
- {
|
|
|
- this.interfaceinfoName = interfaceinfoName;
|
|
|
- }
|
|
|
-
|
|
|
- public String getInterfaceinfoName()
|
|
|
- {
|
|
|
- return interfaceinfoName;
|
|
|
- }
|
|
|
- public void setIpaddress(String ipaddress)
|
|
|
- {
|
|
|
- this.ipaddress = ipaddress;
|
|
|
- }
|
|
|
-
|
|
|
- public String getIpaddress()
|
|
|
- {
|
|
|
- return ipaddress;
|
|
|
- }
|
|
|
- public void setOs(String os)
|
|
|
- {
|
|
|
- this.os = os;
|
|
|
- }
|
|
|
-
|
|
|
- public String getOs()
|
|
|
- {
|
|
|
- return os;
|
|
|
- }
|
|
|
- public void setPlatformInterfacetype(String platformInterfacetype)
|
|
|
- {
|
|
|
- this.platformInterfacetype = platformInterfacetype;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPlatformInterfacetype()
|
|
|
- {
|
|
|
- return platformInterfacetype;
|
|
|
- }
|
|
|
- public void setBrowser(String browser)
|
|
|
- {
|
|
|
- this.browser = browser;
|
|
|
- }
|
|
|
-
|
|
|
- public String getBrowser()
|
|
|
- {
|
|
|
- return browser;
|
|
|
- }
|
|
|
- public void setParam(String params)
|
|
|
- {
|
|
|
- this.param = params;
|
|
|
- }
|
|
|
-
|
|
|
- public String getParam()
|
|
|
- {
|
|
|
- return param;
|
|
|
- }
|
|
|
- public void setResults(String results)
|
|
|
- {
|
|
|
- this.results = results;
|
|
|
- }
|
|
|
-
|
|
|
- public String getResults()
|
|
|
- {
|
|
|
- return results;
|
|
|
- }
|
|
|
- public void setOperationQuantity(Long operationQuantity)
|
|
|
- {
|
|
|
- this.operationQuantity = operationQuantity;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getOperationQuantity()
|
|
|
- {
|
|
|
- return operationQuantity;
|
|
|
- }
|
|
|
- public void setOperationStatus(Long operationStatus)
|
|
|
- {
|
|
|
- this.operationStatus = operationStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getOperationStatus()
|
|
|
- {
|
|
|
- return operationStatus;
|
|
|
- }
|
|
|
- public void setExceptionLog(String exceptionLog)
|
|
|
- {
|
|
|
- this.exceptionLog = exceptionLog;
|
|
|
- }
|
|
|
-
|
|
|
- public String getExceptionLog()
|
|
|
- {
|
|
|
- return exceptionLog;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
- .append("id", getId())
|
|
|
- .append("status", getStatus())
|
|
|
- .append("remark", getRemark())
|
|
|
- .append("delFlag", getDelFlag())
|
|
|
- .append("createBy", getCreateBy())
|
|
|
- .append("createTime", getCreateTime())
|
|
|
- .append("updateBy", getUpdateBy())
|
|
|
- .append("updateTime", getUpdateTime())
|
|
|
- .append("loginUser", getLoginUser())
|
|
|
- .append("loginName", getLoginName())
|
|
|
- .append("interfaceinfoId", getInterfaceinfoId())
|
|
|
- .append("interfaceinfoName", getInterfaceinfoName())
|
|
|
- .append("ipaddress", getIpaddress())
|
|
|
- .append("os", getOs())
|
|
|
- .append("platformInterfacetype", getPlatformInterfacetype())
|
|
|
- .append("browser", getBrowser())
|
|
|
- .append("param", getParam())
|
|
|
- .append("results", getResults())
|
|
|
- .append("operationQuantity", getOperationQuantity())
|
|
|
- .append("operationStatus", getOperationStatus())
|
|
|
- .append("exceptionLog", getExceptionLog())
|
|
|
- .toString();
|
|
|
- }
|
|
|
}
|