|
|
@@ -27,6 +27,7 @@ public class Inquiry {
|
|
|
private String in_remark;
|
|
|
private String in_pricetype;
|
|
|
private List<InquiryDetail> details;
|
|
|
+ private String in_kind; //询价类型
|
|
|
/**
|
|
|
* 主动报价时,平台的主动报价单SaleQuotation的ID
|
|
|
*/
|
|
|
@@ -146,6 +147,14 @@ public class Inquiry {
|
|
|
this.in_environment = in_environment;
|
|
|
}
|
|
|
|
|
|
+ public String getIn_kind() {
|
|
|
+ return in_kind;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIn_kind(String in_kind) {
|
|
|
+ this.in_kind = in_kind;
|
|
|
+ }
|
|
|
+
|
|
|
public List<Attach> getAttaches() {
|
|
|
return attaches;
|
|
|
}
|
|
|
@@ -173,6 +182,7 @@ public class Inquiry {
|
|
|
inquiry.setSourceId(this.in_id);
|
|
|
inquiry.setPriceType(this.in_pricetype);
|
|
|
inquiry.setIsOpen(Constant.NO); // erp传过来的询价单,默认为非公开
|
|
|
+ inquiry.setInquirytype(this.in_kind);
|
|
|
if (!CollectionUtils.isEmpty(this.details)) {
|
|
|
Set<PurchaseInquiryItem> inquiryItems = new HashSet<PurchaseInquiryItem>();
|
|
|
for (InquiryDetail detail : details) {
|