@ -49,4 +49,9 @@ public class HeuristicRule extends BaseRule {
@ApiParam(value ="组炉区间")
@FieldAnnotation(editType = ApsEnumUtil.EDIT_TYPE.DURATION)
private String batchPeriod;
@Column(name="PRD_NO_LIMIT")
@ApiParam(value ="组炉商标个数限制")
private Integer prdNoLimit;
}
@ -159,6 +159,11 @@ public class Work extends BaseAPS {
@FieldAnnotation(property = false)
private Long mainPlanId;
@Column(name="DYN_SPLIT_WORK_ID")
@ApiParam(value ="动态拆分的工作ID")
private Long dynSplitWorkId;
public BaseOrder getOrder() {
return BeanRelation.get(this, EWork.Order);
@ -66,4 +66,18 @@ public abstract class BaseAPS extends BaseBean {
return null;
public Boolean getCustomBoolean(String code) {
Object value = customFields.get(code);
if (value == null) {
if (value.getClass() == Boolean.class) {
return (Boolean) value;
} else if(value.getClass() == Integer.class) {
return (Integer)value == 1;