|
@@ -33,6 +33,7 @@ public class Inquiry {
|
|
|
private String in_environment;//环保要求
|
|
private String in_environment;//环保要求
|
|
|
private Date in_enddate;
|
|
private Date in_enddate;
|
|
|
private String in_remark;
|
|
private String in_remark;
|
|
|
|
|
+ private String in_pricetype;
|
|
|
private List<InquiryDetail> details;
|
|
private List<InquiryDetail> details;
|
|
|
/**
|
|
/**
|
|
|
* 主动报价时,平台的主动报价单SaleQuotation的ID
|
|
* 主动报价时,平台的主动报价单SaleQuotation的ID
|
|
@@ -59,6 +60,14 @@ public class Inquiry {
|
|
|
public Date getIn_date() {
|
|
public Date getIn_date() {
|
|
|
return in_date;
|
|
return in_date;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ public String getIn_pricetype() {
|
|
|
|
|
+ return in_pricetype;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setIn_pricetype(String in_pricetype) {
|
|
|
|
|
+ this.in_pricetype = in_pricetype;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
public void setIn_date(Date in_date) {
|
|
public void setIn_date(Date in_date) {
|
|
|
this.in_date = in_date;
|
|
this.in_date = in_date;
|
|
@@ -161,6 +170,7 @@ public class Inquiry {
|
|
|
inquiry.setRemark(this.in_remark);
|
|
inquiry.setRemark(this.in_remark);
|
|
|
inquiry.setEnvironment(this.in_environment);
|
|
inquiry.setEnvironment(this.in_environment);
|
|
|
inquiry.setSourceId(this.in_id);
|
|
inquiry.setSourceId(this.in_id);
|
|
|
|
|
+ inquiry.setPriceType(this.in_pricetype);
|
|
|
if (!CollectionUtils.isEmpty(this.details)) {
|
|
if (!CollectionUtils.isEmpty(this.details)) {
|
|
|
Set<PurchaseInquiryItem> inquiryItems = new HashSet<PurchaseInquiryItem>();
|
|
Set<PurchaseInquiryItem> inquiryItems = new HashSet<PurchaseInquiryItem>();
|
|
|
for (InquiryDetail detail : details) {
|
|
for (InquiryDetail detail : details) {
|
|
@@ -188,6 +198,7 @@ public class Inquiry {
|
|
|
this.in_remark = quotation.getRemark();
|
|
this.in_remark = quotation.getRemark();
|
|
|
this.b2b_qu_id = quotation.getId();
|
|
this.b2b_qu_id = quotation.getId();
|
|
|
this.in_buyeruu = quotation.getCustUserUU();
|
|
this.in_buyeruu = quotation.getCustUserUU();
|
|
|
|
|
+ this.in_environment = quotation.getEnvironment();
|
|
|
if (!CollectionUtils.isEmpty(quotation.getQuotationItems())) {
|
|
if (!CollectionUtils.isEmpty(quotation.getQuotationItems())) {
|
|
|
this.details = new ArrayList<InquiryDetail>();
|
|
this.details = new ArrayList<InquiryDetail>();
|
|
|
for (SaleQuotationItem item : quotation.getQuotationItems()) {
|
|
for (SaleQuotationItem item : quotation.getQuotationItems()) {
|