|
|
|
@ -38,10 +38,19 @@ public class PlanFeedback extends BaseAPS {
|
|
|
|
|
@FieldAnnotation(popSearch = true, mainkey = true, relation = "Work")
|
|
|
|
|
private Long workId;
|
|
|
|
|
|
|
|
|
|
@Column(name="TOP_ORDER_ID")
|
|
|
|
|
@ApiParam(value ="顶层订单")
|
|
|
|
|
@FieldAnnotation(popSearch = true, mainkey = true, relation = "Order")
|
|
|
|
|
private Long topOrderId;
|
|
|
|
|
|
|
|
|
|
@Column(name="STATUS")
|
|
|
|
|
@ApiParam(value ="状态")
|
|
|
|
|
private ApsEnumUtil.FEED_BACK_STATUS status;
|
|
|
|
|
|
|
|
|
|
@Column(name="PLAN_COUNT")
|
|
|
|
|
@ApiParam(value ="计划完成数量")
|
|
|
|
|
private Double planCount;
|
|
|
|
|
|
|
|
|
|
@Column(name="ACTUAL_COUNT")
|
|
|
|
|
@ApiParam(value ="实际完成数量")
|
|
|
|
|
private Double actualCount;
|
|
|
|
@ -58,4 +67,11 @@ public class PlanFeedback extends BaseAPS {
|
|
|
|
|
this.workId = work != null ? work.getId() : 0L;
|
|
|
|
|
BeanRelation.set(this, EPlanFeedback.Work, work);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public BaseOrder getTopOrder() { return BeanRelation.get(this, EPlanFeedback.TopOrder); }
|
|
|
|
|
|
|
|
|
|
public void setTopOrder(BaseOrder topOrder) {
|
|
|
|
|
this.topOrderId = topOrder != null ? topOrder.getId() : 0L;
|
|
|
|
|
BeanRelation.set(this, EPlanFeedback.TopOrder, topOrder);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|