|
|
@@ -28,6 +28,7 @@ public class Inquiry {
|
|
|
private String in_kind;
|
|
|
private String in_pricetype;
|
|
|
private List<InquiryDetail> details;
|
|
|
+ private String in_kind; //询价类型
|
|
|
/**
|
|
|
* 主动报价时,平台的主动报价单SaleQuotation的ID
|
|
|
*/
|
|
|
@@ -147,6 +148,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;
|
|
|
}
|
|
|
@@ -183,6 +192,7 @@ public class Inquiry {
|
|
|
inquiry.setPriceType(this.in_pricetype);
|
|
|
inquiry.setInquirytype(this.in_kind);
|
|
|
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) {
|