|
|
@@ -90,12 +90,6 @@ public class PublicInquiryItem implements Serializable {
|
|
|
@JoinColumn(name = "id_prid", insertable = false, updatable = false)
|
|
|
private Product product;
|
|
|
|
|
|
- /**
|
|
|
- * 物料编号,物料表加载不出来,这里用code去处理
|
|
|
- */
|
|
|
- @Column(name = "id_prcode")
|
|
|
- private String prodCode;
|
|
|
-
|
|
|
/**
|
|
|
* 币种
|
|
|
*/
|
|
|
@@ -349,11 +343,11 @@ public class PublicInquiryItem implements Serializable {
|
|
|
@Column(name = "id_offertime")
|
|
|
private Date offerTime;
|
|
|
|
|
|
- /**
|
|
|
- * 封装
|
|
|
- */
|
|
|
- @Column(name = "id_sort")
|
|
|
- private String sort;
|
|
|
+ /**
|
|
|
+ * 单价预算
|
|
|
+ */
|
|
|
+ @Column(name = "id_unitprice")
|
|
|
+ private Double unitPrice;
|
|
|
|
|
|
/**
|
|
|
* 产品生产日期
|
|
|
@@ -367,6 +361,54 @@ public class PublicInquiryItem implements Serializable {
|
|
|
@Column(name = "id_encapsulation")
|
|
|
private String encapsulation;
|
|
|
|
|
|
+ /**
|
|
|
+ * 报价截止日期
|
|
|
+ */
|
|
|
+ @Column(name = "id_enddate")
|
|
|
+ private Date endDate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * ************* 上传的物料信息,物料冗余字段 *************
|
|
|
+ */
|
|
|
+ /**
|
|
|
+ * 物料编号
|
|
|
+ */
|
|
|
+ @Column(name = "id_prodcode")
|
|
|
+ private String prodCode;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 名称
|
|
|
+ */
|
|
|
+ @Column(name = "id_prodtitle")
|
|
|
+ private String prodTitle;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 规格
|
|
|
+ */
|
|
|
+ @Column(name = "id_prodspec")
|
|
|
+ private String spec;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 单位
|
|
|
+ */
|
|
|
+ @Column(name = "id_unit")
|
|
|
+ private String unit;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 型号
|
|
|
+ */
|
|
|
+ @Column(name = "id_cmpcode")
|
|
|
+ private String cmpCode;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 品牌
|
|
|
+ */
|
|
|
+ @Column(name = "id_inbrand")
|
|
|
+ private String inbrand;
|
|
|
+ /**
|
|
|
+ * ******end*******
|
|
|
+ */
|
|
|
+
|
|
|
public Long getId() {
|
|
|
return id;
|
|
|
}
|
|
|
@@ -397,14 +439,14 @@ public class PublicInquiryItem implements Serializable {
|
|
|
return inquiry;
|
|
|
}
|
|
|
|
|
|
- public void setInquiry(PublicInquiry inquiry) {
|
|
|
- this.inquiry = inquiry;
|
|
|
- }
|
|
|
-
|
|
|
public Long getProductId() {
|
|
|
return productId;
|
|
|
}
|
|
|
|
|
|
+ public void setInquiry(PublicInquiry inquiry) {
|
|
|
+ this.inquiry = inquiry;
|
|
|
+ }
|
|
|
+
|
|
|
public void setProductId(Long productId) {
|
|
|
this.productId = productId;
|
|
|
}
|
|
|
@@ -762,15 +804,15 @@ public class PublicInquiryItem implements Serializable {
|
|
|
this.offerTime = offerTime;
|
|
|
}
|
|
|
|
|
|
- public String getSort() {
|
|
|
- return sort;
|
|
|
- }
|
|
|
+ public Double getUnitPrice() {
|
|
|
+ return unitPrice;
|
|
|
+ }
|
|
|
|
|
|
- public void setSort(String sort) {
|
|
|
- this.sort = sort;
|
|
|
- }
|
|
|
+ public void setUnitPrice(Double unitPrice) {
|
|
|
+ this.unitPrice = unitPrice;
|
|
|
+ }
|
|
|
|
|
|
- public String getProduceDate() {
|
|
|
+ public String getProduceDate() {
|
|
|
return produceDate;
|
|
|
}
|
|
|
|
|
|
@@ -786,6 +828,54 @@ public class PublicInquiryItem implements Serializable {
|
|
|
this.encapsulation = encapsulation;
|
|
|
}
|
|
|
|
|
|
+ public Date getEndDate() {
|
|
|
+ return endDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEndDate(Date endDate) {
|
|
|
+ this.endDate = endDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getProdTitle() {
|
|
|
+ return prodTitle;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setProdTitle(String prodTitle) {
|
|
|
+ this.prodTitle = prodTitle;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSpec() {
|
|
|
+ return spec;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSpec(String spec) {
|
|
|
+ this.spec = spec;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getUnit() {
|
|
|
+ return unit;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUnit(String unit) {
|
|
|
+ this.unit = unit;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCmpCode() {
|
|
|
+ return cmpCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCmpCode(String cmpCode) {
|
|
|
+ this.cmpCode = cmpCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getInbrand() {
|
|
|
+ return inbrand;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setInbrand(String inbrand) {
|
|
|
+ this.inbrand = inbrand;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 将公共询价单转成报价单
|
|
|
*
|
|
|
@@ -811,8 +901,15 @@ public class PublicInquiryItem implements Serializable {
|
|
|
this.userTel = item.getUserTel();
|
|
|
this.prodCode = item.getProdCode();
|
|
|
this.source = item.getSource();
|
|
|
- this.sort = item.getSort();
|
|
|
+ this.unitPrice = item.getUnitPrice();
|
|
|
this.produceDate = item.getProduceDate();
|
|
|
+ this.endDate = item.getEndDate();
|
|
|
+ this.encapsulation = item.getEncapsulation();
|
|
|
+ this.prodTitle = item.getProdTitle();
|
|
|
+ this.spec = item.getSpec();
|
|
|
+ this.inbrand = item.getInbrand();
|
|
|
+ this.unit = item.getUnit();
|
|
|
+ this.cmpCode = item.getCmpCode();
|
|
|
}
|
|
|
|
|
|
public PublicInquiryItem() {
|
|
|
@@ -887,7 +984,6 @@ public class PublicInquiryItem implements Serializable {
|
|
|
", userCode='" + userCode + '\'' +
|
|
|
", productId=" + productId +
|
|
|
", product=" + product +
|
|
|
- ", prodCode='" + prodCode + '\'' +
|
|
|
", currency='" + currency + '\'' +
|
|
|
", taxrate=" + taxrate +
|
|
|
", remark='" + remark + '\'' +
|
|
|
@@ -926,9 +1022,16 @@ public class PublicInquiryItem implements Serializable {
|
|
|
", vendName='" + vendName + '\'' +
|
|
|
", businessCode='" + businessCode + '\'' +
|
|
|
", offerTime=" + offerTime +
|
|
|
- ", sort='" + sort + '\'' +
|
|
|
+ ", unitPrice=" + unitPrice +
|
|
|
", produceDate='" + produceDate + '\'' +
|
|
|
", encapsulation='" + encapsulation + '\'' +
|
|
|
+ ", endDate=" + endDate +
|
|
|
+ ", prodCode='" + prodCode + '\'' +
|
|
|
+ ", prodTitle='" + prodTitle + '\'' +
|
|
|
+ ", spec='" + spec + '\'' +
|
|
|
+ ", unit='" + unit + '\'' +
|
|
|
+ ", cmpCode='" + cmpCode + '\'' +
|
|
|
+ ", inbrand='" + inbrand + '\'' +
|
|
|
'}';
|
|
|
}
|
|
|
}
|