新增生产计划下发,生产计划打印功能。

yun-zuoyi
钮海涛 4 years ago
parent ec35afa34e
commit 0af24e4704

@ -49,4 +49,9 @@ public class HeuristicRule extends BaseRule {
@ApiParam(value ="组炉区间") @ApiParam(value ="组炉区间")
@FieldAnnotation(editType = ApsEnumUtil.EDIT_TYPE.DURATION) @FieldAnnotation(editType = ApsEnumUtil.EDIT_TYPE.DURATION)
private String batchPeriod; private String batchPeriod;
@Column(name="PRD_NO_LIMIT")
@ApiParam(value ="组炉商标个数限制")
@FieldAnnotation(editType = ApsEnumUtil.EDIT_TYPE.DURATION)
private Integer prdNoLimit;
} }

@ -159,6 +159,11 @@ public class Work extends BaseAPS {
@FieldAnnotation(property = false) @FieldAnnotation(property = false)
private Long mainPlanId; private Long mainPlanId;
@Column(name="DYN_SPLIT_WORK_ID")
@ApiParam(value ="动态拆分的工作ID")
@FieldAnnotation(property = false)
private Long dynSplitWorkId;
public BaseOrder getOrder() { public BaseOrder getOrder() {
return BeanRelation.get(this, EWork.Order); return BeanRelation.get(this, EWork.Order);
} }

@ -66,4 +66,18 @@ public abstract class BaseAPS extends BaseBean {
} }
return null; return null;
} }
public Boolean getCustomBoolean(String code) {
Object value = customFields.get(code);
if (value == null) {
return null;
}
if (value.getClass() == Boolean.class) {
return (Boolean) value;
} else if(value.getClass() == Integer.class) {
return (Integer)value == 1;
}
return null;
}
} }

Loading…
Cancel
Save