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