|
|
@@ -32,6 +32,7 @@ public class PurchaseChange {
|
|
|
private String pc_description;
|
|
|
private String pc_remark;
|
|
|
private Short pc_agreed;
|
|
|
+ private Short pc_needvendcheck;
|
|
|
private List<PurchaseChangeDetail> changeDetails;
|
|
|
|
|
|
public String getPc_code() {
|
|
|
@@ -114,6 +115,14 @@ public class PurchaseChange {
|
|
|
this.pc_agreed = pc_agreed;
|
|
|
}
|
|
|
|
|
|
+ public Short getPc_needvendcheck() {
|
|
|
+ return pc_needvendcheck;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPc_needvendcheck(Short pc_needvendcheck) {
|
|
|
+ this.pc_needvendcheck = pc_needvendcheck;
|
|
|
+ }
|
|
|
+
|
|
|
public List<PurchaseChangeDetail> getChangeDetails() {
|
|
|
return changeDetails;
|
|
|
}
|
|
|
@@ -143,6 +152,8 @@ public class PurchaseChange {
|
|
|
change.setSendStatus((short) Status.NOT_UPLOAD.value());
|
|
|
change.setStatus((short) Status.NOT_REPLY.value());
|
|
|
change.setAgreed(getPc_agreed());
|
|
|
+ int check = this.pc_needvendcheck != null ? (this.pc_needvendcheck + 1) : null;
|
|
|
+ change.setUnNeedReply((short)check);
|
|
|
if (change.isAgreed()) {
|
|
|
// 买家已同意的,无需再传回到买家ERP
|
|
|
change.setStatus((short) Status.REPLIED.value());
|