|
|
@@ -42,6 +42,7 @@ public class InquiryDetail {
|
|
|
private Double id_minbuyqty;
|
|
|
private Double id_minqty;
|
|
|
private List<InquiryDetailDet> dets;
|
|
|
+ private Long ve_buyeruu;
|
|
|
|
|
|
public Long getB2b_id_id() {
|
|
|
return b2b_id_id;
|
|
|
@@ -179,6 +180,14 @@ public class InquiryDetail {
|
|
|
this.id_minqty = id_minqty;
|
|
|
}
|
|
|
|
|
|
+ public Long getVe_buyeruu() {
|
|
|
+ return ve_buyeruu;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setVe_buyeruu(Long ve_buyeruu) {
|
|
|
+ this.ve_buyeruu = ve_buyeruu;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 转为平台的采购询价明细
|
|
|
*
|
|
|
@@ -190,6 +199,7 @@ public class InquiryDetail {
|
|
|
inquiryItem.setNumber(this.id_detno);
|
|
|
inquiryItem.setRemark(this.id_remark);
|
|
|
inquiryItem.setTaxrate(this.id_rate);
|
|
|
+ inquiryItem.setUserUU(this.ve_buyeruu);
|
|
|
inquiryItem.setVendUU(this.ve_uu);
|
|
|
inquiryItem.setVendUserUU(this.ve_contactuu);
|
|
|
Product product = new Product();
|
|
|
@@ -199,7 +209,7 @@ public class InquiryDetail {
|
|
|
inquiryItem.setSourceId(this.id_id);
|
|
|
inquiryItem.setStatus((short) Status.NOT_REPLY.value());
|
|
|
inquiryItem.setSendStatus((short) Status.NOT_UPLOAD.value());
|
|
|
- if (!CollectionUtils.isEmpty(this.dets)) {//都不会为空
|
|
|
+ if (!CollectionUtils.isEmpty(this.dets)) {// 都不会为空
|
|
|
Set<PurchaseInquiryReply> replies = new HashSet<PurchaseInquiryReply>();
|
|
|
for (InquiryDetailDet det : this.dets) {
|
|
|
replies.add(det.convert());
|