|
|
|
@ -7,13 +7,12 @@ import lombok.EqualsAndHashCode;
|
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
import org.hibernate.annotations.Type;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
|
import javax.script.CompiledScript;
|
|
|
|
|
import javax.script.ScriptContext;
|
|
|
|
|
import javax.script.ScriptEngine;
|
|
|
|
|
import javax.script.ScriptException;
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Lob;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 脚本持久化实体类
|
|
|
|
@ -30,6 +29,7 @@ import javax.script.ScriptException;
|
|
|
|
|
@Table(name = "SCRIPT_PERSISTENCE")
|
|
|
|
|
@Api("系统动态脚本")
|
|
|
|
|
public class EngineScriptPersistence extends BaseBean {
|
|
|
|
|
private static final long serialVersionUID = 7893111140559759490L;
|
|
|
|
|
// 脚本调用的唯一编号,例如:WMS_PDA_0001
|
|
|
|
|
@Column(name = "SCRIPT_NO", length = 50)
|
|
|
|
|
private String scriptNo;
|
|
|
|
|