add import field

yun-zuoyi
钮海涛 4 years ago
parent 90169cd8b0
commit f10f13a8de

@ -20,4 +20,5 @@ import javax.persistence.Table;
@Table(name = "APS_FLUSH_PLAN_RULE")
@Api("刷新计划规则")
public class FlushPlanRule extends BaseRule {
private static final long serialVersionUID = 4973034215598612466L;
}

@ -29,6 +29,7 @@ import javax.persistence.Transient;
@Api("数据导入字段配置")
public class ImportField extends BaseAPS {
private static final long serialVersionUID = 8848879008582197564L;
@Column(name="FIELD_NAME")
@ApiParam("字段名")
private String fieldName;
@ -48,6 +49,14 @@ public class ImportField extends BaseAPS {
@ApiParam(value = "最大长度", example = "0")
private Integer maxLength;
@Column(name="RELATION_TABLE")
@ApiParam("关联表名")
private String relationTable;
@Column(name="RELATION_FIELD")
@ApiParam("关联字段")
private String relationField;
@Transient
private boolean hasDeal = false;

@ -26,7 +26,7 @@ import java.util.Date;
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "APS_MATERIAL_DELIVERY_PROMISE")
@Api("物料")
@Api("物料交期承诺")
public class MaterialDeliveryPromise extends BaseBean {
@Column(name="QTY")
@ApiParam(value ="到货数量")

@ -49,5 +49,5 @@ public class MaterialSetTime extends BaseAPS {
@Column(name="PRIORITY")
@ApiParam(value ="优先级")
@FieldAnnotation(defaultValue = "10")
private int priority;
private Integer priority;
}

Loading…
Cancel
Save