|
|
@@ -19,6 +19,11 @@ import com.uas.platform.core.util.NumberUtil;
|
|
|
*/
|
|
|
public class PurchaseChange {
|
|
|
|
|
|
+ /**
|
|
|
+ * ID
|
|
|
+ */
|
|
|
+ private long pc_id;
|
|
|
+
|
|
|
/**
|
|
|
* 流水号
|
|
|
*/
|
|
|
@@ -164,6 +169,14 @@ public class PurchaseChange {
|
|
|
this.pc_agreed = pc_agreed;
|
|
|
}
|
|
|
|
|
|
+ public long getPc_id() {
|
|
|
+ return pc_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPc_id(long pc_id) {
|
|
|
+ this.pc_id = pc_id;
|
|
|
+ }
|
|
|
+
|
|
|
public PurchaseChange() {
|
|
|
}
|
|
|
|
|
|
@@ -175,6 +188,7 @@ public class PurchaseChange {
|
|
|
public PurchaseChange(PurchaseOrderChange orderChange) {
|
|
|
if (orderChange.getAgreed() != null && orderChange.getAgreed() == Constant.YES)
|
|
|
this.pc_agreed = Status.AGREED.getPhrase();
|
|
|
+ this.pc_id = orderChange.getId();
|
|
|
this.pc_code = orderChange.getCode();
|
|
|
this.pc_currency = orderChange.getOrder().getCurrency();
|
|
|
this.pc_date = orderChange.getDate();
|