|
@@ -16,7 +16,7 @@ public class AcceptNotifyDetail {
|
|
|
|
|
|
|
|
private String and_ordercode;
|
|
private String and_ordercode;
|
|
|
private Short and_orderdetno;
|
|
private Short and_orderdetno;
|
|
|
- private Long pn_id;
|
|
|
|
|
|
|
+ private Long and_pnid;
|
|
|
private Double and_inqty;
|
|
private Double and_inqty;
|
|
|
private Double and_price;
|
|
private Double and_price;
|
|
|
private String and_remark;
|
|
private String and_remark;
|
|
@@ -70,12 +70,12 @@ public class AcceptNotifyDetail {
|
|
|
this.and_price = and_price;
|
|
this.and_price = and_price;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public Long getPn_id() {
|
|
|
|
|
- return pn_id;
|
|
|
|
|
|
|
+ public Long getAnd_pnid() {
|
|
|
|
|
+ return and_pnid;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public void setPn_id(Long pn_id) {
|
|
|
|
|
- this.pn_id = pn_id;
|
|
|
|
|
|
|
+ public void setAnd_pnid(Long and_pnid) {
|
|
|
|
|
+ this.and_pnid = and_pnid;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public AcceptNotifyDetail() {
|
|
public AcceptNotifyDetail() {
|
|
@@ -87,6 +87,7 @@ public class AcceptNotifyDetail {
|
|
|
public AcceptNotifyDetail(SaleSendItem item) {
|
|
public AcceptNotifyDetail(SaleSendItem item) {
|
|
|
this.and_detno = item.getNumber();
|
|
this.and_detno = item.getNumber();
|
|
|
this.and_inqty = item.getQty();
|
|
this.and_inqty = item.getQty();
|
|
|
|
|
+ this.and_pnid = item.getNotice().getSourceId();
|
|
|
this.and_ordercode = item.getNotice().getOrderItem().getOrder().getCode();
|
|
this.and_ordercode = item.getNotice().getOrderItem().getOrder().getCode();
|
|
|
this.and_orderdetno = item.getNotice().getOrderItem().getNumber();
|
|
this.and_orderdetno = item.getNotice().getOrderItem().getNumber();
|
|
|
this.and_price = item.getPrice();
|
|
this.and_price = item.getPrice();
|
|
@@ -111,7 +112,7 @@ public class AcceptNotifyDetail {
|
|
|
orderItem.setOrder(order);
|
|
orderItem.setOrder(order);
|
|
|
PurchaseNotice notice = new PurchaseNotice();
|
|
PurchaseNotice notice = new PurchaseNotice();
|
|
|
notice.setOrderItem(orderItem);
|
|
notice.setOrderItem(orderItem);
|
|
|
- notice.setSourceId(this.pn_id);
|
|
|
|
|
|
|
+ notice.setSourceId(this.and_pnid);
|
|
|
notice.setEnUU(SystemSession.getUser().getEnterprise().getUu());
|
|
notice.setEnUU(SystemSession.getUser().getEnterprise().getUu());
|
|
|
item.setNotice(notice);
|
|
item.setNotice(notice);
|
|
|
return item;
|
|
return item;
|