|
@@ -22,6 +22,24 @@ public class PurchaseOrderItemSimpleInfo {
|
|
|
@Column(name = "pd_id")
|
|
@Column(name = "pd_id")
|
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 数量 (数量用于判断是否为待交货)
|
|
|
|
|
+ */
|
|
|
|
|
+ @Column(name = "pd_qty")
|
|
|
|
|
+ private Double qty;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 客户已验收数量
|
|
|
|
|
+ */
|
|
|
|
|
+ @Column(name = "pd_acceptqty")
|
|
|
|
|
+ private Double acceptQty;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 客户验退数量
|
|
|
|
|
+ */
|
|
|
|
|
+ @Column(name = "pd_returnqty")
|
|
|
|
|
+ private Double returnQty;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 产品
|
|
* 产品
|
|
|
*/
|
|
*/
|
|
@@ -48,6 +66,39 @@ public class PurchaseOrderItemSimpleInfo {
|
|
|
return product;
|
|
return product;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public Double getQty() {
|
|
|
|
|
+ if (null == qty) {
|
|
|
|
|
+ return (double) 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ return qty;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setQty(Double qty) {
|
|
|
|
|
+ this.qty = qty;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Double getAcceptQty() {
|
|
|
|
|
+ if (null == acceptQty) {
|
|
|
|
|
+ return (double) 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ return acceptQty;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setAcceptQty(Double acceptQty) {
|
|
|
|
|
+ this.acceptQty = acceptQty;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Double getReturnQty() {
|
|
|
|
|
+ if (null == returnQty) {
|
|
|
|
|
+ return (double) 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ return returnQty;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setReturnQty(Double returnQty) {
|
|
|
|
|
+ this.returnQty = returnQty;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
public void setProduct(ProductSimpleInfo product) {
|
|
public void setProduct(ProductSimpleInfo product) {
|
|
|
this.product = product;
|
|
this.product = product;
|
|
|
}
|
|
}
|
|
@@ -62,8 +113,8 @@ public class PurchaseOrderItemSimpleInfo {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public String toString() {
|
|
public String toString() {
|
|
|
- return "PurchaseOrderItemSimpleInfo [id=" + id + ", product=" + product + ", purchaseOrder=" + purchaseOrder
|
|
|
|
|
- + "]";
|
|
|
|
|
|
|
+ return "PurchaseOrderItemSimpleInfo [id=" + id + ", qty=" + qty + ", acceptQty=" + acceptQty + ", returnQty="
|
|
|
|
|
+ + returnQty + ", product=" + product + ", purchaseOrder=" + purchaseOrder + "]";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|