解决日志模块不能显示用户信息的bug
This commit is contained in:
@@ -3,6 +3,8 @@ package com.jsh.erp.datasource.mappers;
|
||||
import com.jsh.erp.datasource.entities.Log;
|
||||
import com.jsh.erp.datasource.entities.LogExample;
|
||||
import java.util.List;
|
||||
|
||||
import com.jsh.erp.datasource.vo.LogVo4List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface LogMapper {
|
||||
@@ -94,7 +96,7 @@ public interface LogMapper {
|
||||
*/
|
||||
int updateByPrimaryKey(Log record);
|
||||
|
||||
List<Log> selectByConditionLog(
|
||||
List<LogVo4List> selectByConditionLog(
|
||||
@Param("operation") String operation,
|
||||
@Param("usernameID") Integer usernameID,
|
||||
@Param("clientIp") String clientIp,
|
||||
|
||||
96
src/main/java/com/jsh/erp/datasource/vo/LogVo4List.java
Normal file
96
src/main/java/com/jsh/erp/datasource/vo/LogVo4List.java
Normal file
@@ -0,0 +1,96 @@
|
||||
package com.jsh.erp.datasource.vo;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class LogVo4List {
|
||||
|
||||
private Long id;
|
||||
|
||||
private Long userid;
|
||||
|
||||
private String operation;
|
||||
|
||||
private String clientip;
|
||||
|
||||
private Date createtime;
|
||||
|
||||
private Byte status;
|
||||
|
||||
private String contentdetails;
|
||||
|
||||
private String remark;
|
||||
|
||||
private String username;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getUserid() {
|
||||
return userid;
|
||||
}
|
||||
|
||||
public void setUserid(Long userid) {
|
||||
this.userid = userid;
|
||||
}
|
||||
|
||||
public String getOperation() {
|
||||
return operation;
|
||||
}
|
||||
|
||||
public void setOperation(String operation) {
|
||||
this.operation = operation;
|
||||
}
|
||||
|
||||
public String getClientip() {
|
||||
return clientip;
|
||||
}
|
||||
|
||||
public void setClientip(String clientip) {
|
||||
this.clientip = clientip;
|
||||
}
|
||||
|
||||
public Date getCreatetime() {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(Date createtime) {
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public Byte getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Byte status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getContentdetails() {
|
||||
return contentdetails;
|
||||
}
|
||||
|
||||
public void setContentdetails(String contentdetails) {
|
||||
this.contentdetails = contentdetails;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user