二车间模具选择资源逻辑优化

yun-zuoyi
Dominic_Xiao 3 years ago
parent 42a4d10770
commit 0c7f2ccccb

@ -41,7 +41,7 @@ public class PlanFeedback extends BaseAPS {
@Column(name = "TOP_ORDER_ID")
@ApiParam(value = "顶层订单")
@FieldAnnotation(popSearch = true, relation = "Order")
@FieldAnnotation(popSearch = true, mainkey = true, relation = "Order")
private Long topOrderId;
@Column(name = "STATUS")
@ -71,7 +71,9 @@ public class PlanFeedback extends BaseAPS {
}
@JsonIgnore
public BaseOrder getTopOrder() { return BeanRelation.get(this, EPlanFeedback.TopOrder); }
public BaseOrder getTopOrder() {
return BeanRelation.get(this, EPlanFeedback.TopOrder);
}
public void setTopOrder(BaseOrder topOrder) {
this.topOrderId = topOrder != null ? topOrder.getId() : 0L;

Loading…
Cancel
Save