新增表达式录入界面接口
parent
686cd3dbfa
commit
5e8e05ddb4
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.aps.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.annotation.FieldAnnotation;
|
||||
import cn.estsh.i3plus.pojo.aps.common.BaseAPS;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 保存的表达式录入记录
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2019-12-03
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Entity
|
||||
@Table(name = "APS_EXPRESSION_RECORD")
|
||||
@Api("表达式记录")
|
||||
public class ExpressionRecord extends BaseAPS {
|
||||
@Column(name="BEAN_NAME")
|
||||
@ApiParam(value ="表名")
|
||||
@FieldAnnotation(property = false)
|
||||
private String beanName;
|
||||
|
||||
@Column(name="FIELD_NAME")
|
||||
@ApiParam(value ="字段名")
|
||||
@FieldAnnotation(property = false)
|
||||
private String fieldName;
|
||||
|
||||
@Column(name="NAME")
|
||||
@ApiParam(value ="名称")
|
||||
@FieldAnnotation(notEmpty = true)
|
||||
private String name;
|
||||
|
||||
@Column(name="EXPRESSION")
|
||||
@ApiParam(value ="表达式")
|
||||
private String expression;
|
||||
|
||||
@Column(name="REMARK")
|
||||
@ApiParam(value ="备注")
|
||||
private String remark;
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package cn.estsh.i3plus.pojo.aps.model;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class FunctionModel {
|
||||
private String code;
|
||||
private String name;
|
||||
private String params;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.aps.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.bean.ExpressionRecord;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface ExpressionRecordRepository extends CrudRepository<ExpressionRecord, Long> {
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Class name="ExportProject">
|
||||
<Relation field="Link" name="DataLink" type="MULTI_TO_ONE" owner="false">
|
||||
</Relation>
|
||||
<Relation field="Details" name="ExportDetail" reverse="Project" type="ONE_TO_MULTI" owner="true">
|
||||
</Relation>
|
||||
<Relation field="Link" name="DataLink" type="MULTI_TO_ONE" owner="false">
|
||||
</Relation>
|
||||
<Relation field="Details" name="ExportDetail" reverse="Project" type="ONE_TO_MULTI" owner="true">
|
||||
</Relation>
|
||||
</Class>
|
Loading…
Reference in New Issue