|
|
@@ -106,7 +106,7 @@ public class PurchaseChange {
|
|
|
}
|
|
|
|
|
|
public Short getPc_agreed() {
|
|
|
- return pc_agreed;
|
|
|
+ return pc_agreed != null ? (short) Math.abs(pc_agreed) : pc_agreed;
|
|
|
}
|
|
|
|
|
|
public void setPc_agreed(Short pc_agreed) {
|
|
|
@@ -140,7 +140,7 @@ public class PurchaseChange {
|
|
|
change.setRemark(this.pc_remark);
|
|
|
change.setSendStatus((short) Status.NOT_UPLOAD.value());
|
|
|
change.setStatus((short) Status.NOT_REPLY.value());
|
|
|
- change.setAgreed(this.pc_agreed);
|
|
|
+ change.setAgreed(getPc_agreed());
|
|
|
if (this.pc_agreed != null && Constant.YES == this.pc_agreed) {
|
|
|
// 买家已同意的,无需再传到买家ERP
|
|
|
change.setStatus((short) Status.REPLIED.value());
|