添加日志记录
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package com.chaozhanggui.dao.system.dao;
|
||||
|
||||
import com.chaozhanggui.dao.system.entity.TbPlussAdminRecode;
|
||||
import com.chaozhanggui.dao.system.entity.TbPlussAdminRecodeWithBLOBs;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@Mapper
|
||||
public interface TbPlussAdminRecodeMapper {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(TbPlussAdminRecodeWithBLOBs record);
|
||||
|
||||
int insertSelective(TbPlussAdminRecodeWithBLOBs record);
|
||||
|
||||
TbPlussAdminRecodeWithBLOBs selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(TbPlussAdminRecodeWithBLOBs record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(TbPlussAdminRecodeWithBLOBs record);
|
||||
|
||||
int updateByPrimaryKey(TbPlussAdminRecode record);
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
package com.chaozhanggui.dao.system.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class TbPlussAdminRecode implements Serializable {
|
||||
private Integer id;
|
||||
|
||||
private Integer userId;
|
||||
|
||||
private String operationCode;
|
||||
|
||||
private String ip;
|
||||
|
||||
private String remark;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getOperationCode() {
|
||||
return operationCode;
|
||||
}
|
||||
|
||||
public void setOperationCode(String operationCode) {
|
||||
this.operationCode = operationCode == null ? null : operationCode.trim();
|
||||
}
|
||||
|
||||
public String getIp() {
|
||||
return ip;
|
||||
}
|
||||
|
||||
public void setIp(String ip) {
|
||||
this.ip = ip == null ? null : ip.trim();
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark == null ? null : remark.trim();
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.chaozhanggui.dao.system.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class TbPlussAdminRecodeWithBLOBs extends TbPlussAdminRecode implements Serializable {
|
||||
private String reqBody;
|
||||
|
||||
private String responseBody;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public String getReqBody() {
|
||||
return reqBody;
|
||||
}
|
||||
|
||||
public void setReqBody(String reqBody) {
|
||||
this.reqBody = reqBody == null ? null : reqBody.trim();
|
||||
}
|
||||
|
||||
public String getResponseBody() {
|
||||
return responseBody;
|
||||
}
|
||||
|
||||
public void setResponseBody(String responseBody) {
|
||||
this.responseBody = responseBody == null ? null : responseBody.trim();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user