|
|
|
@ -35,17 +35,12 @@ import javax.persistence.Table;
|
|
|
|
|
public class SysLogOperate extends BaseBean {
|
|
|
|
|
|
|
|
|
|
@Indexed
|
|
|
|
|
@Column(name="OPERATE_MODULE")
|
|
|
|
|
@Column(name="SOFT_TYPE")
|
|
|
|
|
@ApiParam(value ="系统模块(枚举)", example = "1")
|
|
|
|
|
@AnnoOutputColumn(refClass = CommonEnumUtil.SOFT_TYPE.class,refForeignKey = "value",value = "description")
|
|
|
|
|
private Integer operateModule;
|
|
|
|
|
|
|
|
|
|
private String operateModuleName;
|
|
|
|
|
public String getOperateModuleName(){
|
|
|
|
|
if(this.operateModule != null){
|
|
|
|
|
return CommonEnumUtil.SOFT_TYPE.valueOfDescription(this.operateModule);
|
|
|
|
|
}
|
|
|
|
|
return operateModuleName;
|
|
|
|
|
private Integer softType;
|
|
|
|
|
public String getSoftTypeTxt() {
|
|
|
|
|
return softType == null ? null : CommonEnumUtil.SOFT_TYPE.valueOfDescription(softType);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Indexed
|
|
|
|
@ -54,8 +49,8 @@ public class SysLogOperate extends BaseBean {
|
|
|
|
|
@AnnoOutputColumn(refClass = ImppEnumUtil.OPERATE_TYPE.class,refForeignKey = "value",value = "description")
|
|
|
|
|
private Integer operateType;
|
|
|
|
|
|
|
|
|
|
public String getOperateTypeName(){
|
|
|
|
|
return ImppEnumUtil.OPERATE_TYPE.valueOfCode(operateType);
|
|
|
|
|
public String getOperateTypeTxt(){
|
|
|
|
|
return operateType == null ? null : ImppEnumUtil.OPERATE_TYPE.valueOfDescription(operateType);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Column(name="OPERATE_MESSAGE")
|
|
|
|
@ -74,9 +69,9 @@ public class SysLogOperate extends BaseBean {
|
|
|
|
|
@ApiParam(value ="请求路径" , access ="请求路径")
|
|
|
|
|
private String requestUrl;
|
|
|
|
|
|
|
|
|
|
@Column(name="HTTP_METHOD")
|
|
|
|
|
@ApiParam(value ="http请求方法" , access ="http请求方法")
|
|
|
|
|
private String httpMethod;
|
|
|
|
|
// @Column(name="HTTP_METHOD")
|
|
|
|
|
// @ApiParam(value ="http请求方法" , access ="http请求方法")
|
|
|
|
|
// private String httpMethod;
|
|
|
|
|
|
|
|
|
|
@Column(name="LOG_ARGS")
|
|
|
|
|
@ApiParam(value ="方法入参" , access ="方法入参")
|
|
|
|
|