添加日志查询问题
parent
625b780aaf
commit
e70192d3c2
@ -0,0 +1,35 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@Table(name = "MES_LOG")
|
||||||
|
@Api("MES_日志表")
|
||||||
|
public class MesLog extends BaseBean implements Serializable {
|
||||||
|
private static final long serialVersionUID = 4089347882308864216L;
|
||||||
|
|
||||||
|
@Column(name = "METHOD_NAME")
|
||||||
|
@ApiParam(value = "方法名")
|
||||||
|
private String methodName;
|
||||||
|
|
||||||
|
@Column(name = "LOG")
|
||||||
|
@ApiParam(value = "日志")
|
||||||
|
private String log;
|
||||||
|
|
||||||
|
@Column(name = "RESULT")
|
||||||
|
@ApiParam(value = "更新结果")
|
||||||
|
private String result;
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesLog;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: joke.wang
|
||||||
|
* @CreateDate: 2019\11\18 10:34
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface MesLogRepository extends BaseRepository<MesLog, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue