tao.mo

common-dao | 修改 | 操作日志类型调整

mt
2025年1月13日18:22:43
......@@ -2,6 +2,7 @@ package com.fedex.connect.common.dao.log;
import com.fedex.connect.common.model.log.Operation;
import com.fedex.connect.common.model.log.OperationExample;
import com.fedex.connect.common.model.log.OperationWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;
......@@ -12,25 +13,25 @@ public interface OperationMapper {
int deleteByPrimaryKey(Long id);
int insert(Operation record);
int insert(OperationWithBLOBs record);
int insertSelective(Operation record);
int insertSelective(OperationWithBLOBs record);
List<Operation> selectByExampleWithBLOBs(OperationExample example);
List<OperationWithBLOBs> selectByExampleWithBLOBs(OperationExample example);
List<Operation> selectByExample(OperationExample example);
Operation selectByPrimaryKey(Long id);
OperationWithBLOBs selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Operation record, @Param("example") OperationExample example);
int updateByExampleSelective(@Param("record") OperationWithBLOBs record, @Param("example") OperationExample example);
int updateByExampleWithBLOBs(@Param("record") Operation record, @Param("example") OperationExample example);
int updateByExampleWithBLOBs(@Param("record") OperationWithBLOBs record, @Param("example") OperationExample example);
int updateByExample(@Param("record") Operation record, @Param("example") OperationExample example);
int updateByPrimaryKeySelective(Operation record);
int updateByPrimaryKeySelective(OperationWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(Operation record);
int updateByPrimaryKeyWithBLOBs(OperationWithBLOBs record);
int updateByPrimaryKey(Operation record);
}
\ No newline at end of file
......
......@@ -44,21 +44,6 @@ public class Operation implements Serializable {
private String url;
/**
* 请求参数
*/
private String requestParameters;
/**
* 操作结果
*/
private String result;
/**
* 状态(0:展示、1:不展示)
*/
private Long status;
/**
* 创建时间
*/
private Date createTime;
......@@ -103,11 +88,6 @@ public class Operation implements Serializable {
*/
private Long exceuteConsume;
/**
* 备注
*/
private String remark;
private static final long serialVersionUID = 1L;
public Long getId() {
......@@ -166,30 +146,6 @@ public class Operation implements Serializable {
this.url = url == null ? null : url.trim();
}
public String getRequestParameters() {
return requestParameters;
}
public void setRequestParameters(String requestParameters) {
this.requestParameters = requestParameters == null ? null : requestParameters.trim();
}
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result == null ? null : result.trim();
}
public Long getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status;
}
public Date getCreateTime() {
return createTime;
}
......@@ -262,14 +218,6 @@ public class Operation implements Serializable {
this.exceuteConsume = exceuteConsume;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
......@@ -283,9 +231,6 @@ public class Operation implements Serializable {
sb.append(", module=").append(module);
sb.append(", describe=").append(describe);
sb.append(", url=").append(url);
sb.append(", requestParameters=").append(requestParameters);
sb.append(", result=").append(result);
sb.append(", status=").append(status);
sb.append(", createTime=").append(createTime);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
......@@ -295,7 +240,6 @@ public class Operation implements Serializable {
sb.append(", requestTime=").append(requestTime);
sb.append(", responseTime=").append(responseTime);
sb.append(", exceuteConsume=").append(exceuteConsume);
sb.append(", remark=").append(remark);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
......
......@@ -595,206 +595,6 @@ public class OperationExample {
return (Criteria) this;
}
public Criteria andRequestParametersIsNull() {
addCriterion("REQUEST_PARAMETERS is null");
return (Criteria) this;
}
public Criteria andRequestParametersIsNotNull() {
addCriterion("REQUEST_PARAMETERS is not null");
return (Criteria) this;
}
public Criteria andRequestParametersEqualTo(String value) {
addCriterion("REQUEST_PARAMETERS =", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersNotEqualTo(String value) {
addCriterion("REQUEST_PARAMETERS <>", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersGreaterThan(String value) {
addCriterion("REQUEST_PARAMETERS >", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersGreaterThanOrEqualTo(String value) {
addCriterion("REQUEST_PARAMETERS >=", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersLessThan(String value) {
addCriterion("REQUEST_PARAMETERS <", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersLessThanOrEqualTo(String value) {
addCriterion("REQUEST_PARAMETERS <=", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersLike(String value) {
addCriterion("REQUEST_PARAMETERS like", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersNotLike(String value) {
addCriterion("REQUEST_PARAMETERS not like", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersIn(List<String> values) {
addCriterion("REQUEST_PARAMETERS in", values, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersNotIn(List<String> values) {
addCriterion("REQUEST_PARAMETERS not in", values, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersBetween(String value1, String value2) {
addCriterion("REQUEST_PARAMETERS between", value1, value2, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersNotBetween(String value1, String value2) {
addCriterion("REQUEST_PARAMETERS not between", value1, value2, "requestParameters");
return (Criteria) this;
}
public Criteria andResultIsNull() {
addCriterion("RESULT is null");
return (Criteria) this;
}
public Criteria andResultIsNotNull() {
addCriterion("RESULT is not null");
return (Criteria) this;
}
public Criteria andResultEqualTo(String value) {
addCriterion("RESULT =", value, "result");
return (Criteria) this;
}
public Criteria andResultNotEqualTo(String value) {
addCriterion("RESULT <>", value, "result");
return (Criteria) this;
}
public Criteria andResultGreaterThan(String value) {
addCriterion("RESULT >", value, "result");
return (Criteria) this;
}
public Criteria andResultGreaterThanOrEqualTo(String value) {
addCriterion("RESULT >=", value, "result");
return (Criteria) this;
}
public Criteria andResultLessThan(String value) {
addCriterion("RESULT <", value, "result");
return (Criteria) this;
}
public Criteria andResultLessThanOrEqualTo(String value) {
addCriterion("RESULT <=", value, "result");
return (Criteria) this;
}
public Criteria andResultLike(String value) {
addCriterion("RESULT like", value, "result");
return (Criteria) this;
}
public Criteria andResultNotLike(String value) {
addCriterion("RESULT not like", value, "result");
return (Criteria) this;
}
public Criteria andResultIn(List<String> values) {
addCriterion("RESULT in", values, "result");
return (Criteria) this;
}
public Criteria andResultNotIn(List<String> values) {
addCriterion("RESULT not in", values, "result");
return (Criteria) this;
}
public Criteria andResultBetween(String value1, String value2) {
addCriterion("RESULT between", value1, value2, "result");
return (Criteria) this;
}
public Criteria andResultNotBetween(String value1, String value2) {
addCriterion("RESULT not between", value1, value2, "result");
return (Criteria) this;
}
public Criteria andStatusIsNull() {
addCriterion("STATUS is null");
return (Criteria) this;
}
public Criteria andStatusIsNotNull() {
addCriterion("STATUS is not null");
return (Criteria) this;
}
public Criteria andStatusEqualTo(Long value) {
addCriterion("STATUS =", value, "status");
return (Criteria) this;
}
public Criteria andStatusNotEqualTo(Long value) {
addCriterion("STATUS <>", value, "status");
return (Criteria) this;
}
public Criteria andStatusGreaterThan(Long value) {
addCriterion("STATUS >", value, "status");
return (Criteria) this;
}
public Criteria andStatusGreaterThanOrEqualTo(Long value) {
addCriterion("STATUS >=", value, "status");
return (Criteria) this;
}
public Criteria andStatusLessThan(Long value) {
addCriterion("STATUS <", value, "status");
return (Criteria) this;
}
public Criteria andStatusLessThanOrEqualTo(Long value) {
addCriterion("STATUS <=", value, "status");
return (Criteria) this;
}
public Criteria andStatusIn(List<Long> values) {
addCriterion("STATUS in", values, "status");
return (Criteria) this;
}
public Criteria andStatusNotIn(List<Long> values) {
addCriterion("STATUS not in", values, "status");
return (Criteria) this;
}
public Criteria andStatusBetween(Long value1, Long value2) {
addCriterion("STATUS between", value1, value2, "status");
return (Criteria) this;
}
public Criteria andStatusNotBetween(Long value1, Long value2) {
addCriterion("STATUS not between", value1, value2, "status");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("CREATE_TIME is null");
return (Criteria) this;
......
package com.fedex.connect.common.model.log;
import java.io.Serializable;
/**
* DESC: 操作日志
* TABLE: ICLEARIMP.T_LOG_OPERATION
*/
public class OperationWithBLOBs extends Operation implements Serializable {
/**
* 备注
*/
private String remark;
/**
* 请求参数
*/
private String requestParameters;
/**
* 请求结果
*/
private String result;
private static final long serialVersionUID = 1L;
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public String getRequestParameters() {
return requestParameters;
}
public void setRequestParameters(String requestParameters) {
this.requestParameters = requestParameters == null ? null : requestParameters.trim();
}
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result == null ? null : result.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", remark=").append(remark);
sb.append(", requestParameters=").append(requestParameters);
sb.append(", result=").append(result);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file