Browse Source

报价增加交货周期字段

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@1073 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
suntg 11 years ago
parent
commit
7aa5da0323

+ 12 - 2
src/main/java/com/uas/platform/b2b/erp/model/InquiryDetail.java

@@ -41,8 +41,9 @@ public class InquiryDetail {
 	private Date id_todate;
 	private Date id_todate;
 	private Double id_minbuyqty;
 	private Double id_minbuyqty;
 	private Double id_minqty;
 	private Double id_minqty;
-	private String id_brand;
-	private String id_vendorprodcode;
+	private String id_brand;//供应商物料品牌
+	private String id_vendorprodcode;//供应商物料编号
+	private Long id_leadtime;//供应商交互周期
 	private List<InquiryDetailDet> dets;
 	private List<InquiryDetailDet> dets;
 	private Long ve_buyeruu;
 	private Long ve_buyeruu;
 
 
@@ -206,6 +207,14 @@ public class InquiryDetail {
 		this.id_vendorprodcode = id_vendorprodcode;
 		this.id_vendorprodcode = id_vendorprodcode;
 	}
 	}
 
 
+	public Long getId_leadtime() {
+		return id_leadtime;
+	}
+
+	public void setId_leadtime(Long id_leadtime) {
+		this.id_leadtime = id_leadtime;
+	}
+
 	/**
 	/**
 	 * 转为平台的采购询价明细
 	 * 转为平台的采购询价明细
 	 * 
 	 * 
@@ -252,6 +261,7 @@ public class InquiryDetail {
 		this.id_detno = item.getNumber();
 		this.id_detno = item.getNumber();
 		this.id_brand = item.getBrand();
 		this.id_brand = item.getBrand();
 		this.id_vendorprodcode = item.getVendorprodcode();
 		this.id_vendorprodcode = item.getVendorprodcode();
+		this.id_leadtime = item.getLeadtime();
 		if (!CollectionUtils.isEmpty(item.getReplies())) {
 		if (!CollectionUtils.isEmpty(item.getReplies())) {
 			dets = new ArrayList<InquiryDetailDet>();
 			dets = new ArrayList<InquiryDetailDet>();
 			for (PurchaseInquiryReply reply : item.getReplies()) {
 			for (PurchaseInquiryReply reply : item.getReplies()) {

+ 12 - 0
src/main/java/com/uas/platform/b2b/erp/model/QuotationDown.java

@@ -41,6 +41,7 @@ public class QuotationDown {
 	private String qu_environment;
 	private String qu_environment;
 	private String qu_brand;//物料品牌
 	private String qu_brand;//物料品牌
 	private String qu_prodcode;//供应商物料编号
 	private String qu_prodcode;//供应商物料编号
+	private Long qu_leadtime;//供应商交货周期
 	private List<RemoteFile> files;
 	private List<RemoteFile> files;
 	private List<QuotationDownDetail> details;
 	private List<QuotationDownDetail> details;
 
 
@@ -252,6 +253,14 @@ public class QuotationDown {
 		this.qu_prodcode = qu_prodcode;
 		this.qu_prodcode = qu_prodcode;
 	}
 	}
 
 
+	public Long getQu_leadtime() {
+		return qu_leadtime;
+	}
+
+	public void setQu_leadtime(Long qu_leadtime) {
+		this.qu_leadtime = qu_leadtime;
+	}
+
 	public QuotationDown() {
 	public QuotationDown() {
 	}
 	}
 
 
@@ -280,6 +289,9 @@ public class QuotationDown {
 		this.qu_taxrate = item.getTaxrate();
 		this.qu_taxrate = item.getTaxrate();
 		this.qu_recorddate = item.getInquiry().getDate();
 		this.qu_recorddate = item.getInquiry().getDate();
 		this.qu_remark = item.getRemark();
 		this.qu_remark = item.getRemark();
+		this.qu_brand = item.getBrand();
+		this.qu_prodcode = item.getVendorprodcode();
+		this.qu_leadtime = item.getLeadtime();
 		this.qu_environment = item.getInquiry().getEnvironment();
 		this.qu_environment = item.getInquiry().getEnvironment();
 		this.qu_todate = item.getVendToDate();
 		this.qu_todate = item.getVendToDate();
 		this.qu_custlap = item.getCustLap();
 		this.qu_custlap = item.getCustLap();

+ 14 - 0
src/main/java/com/uas/platform/b2b/model/PurchaseInquiryItem.java

@@ -155,6 +155,12 @@ public class PurchaseInquiryItem {
 	@Column(name = "id_vendorprodcode")
 	@Column(name = "id_vendorprodcode")
 	private String vendorprodcode;
 	private String vendorprodcode;
 
 
+	/**
+	 * (卖家报的)交货周期(天数)
+	 */
+	@Column(name = "id_leadtime")
+	private Long leadtime;
+
 	/**
 	/**
 	 * 分段报价明细
 	 * 分段报价明细
 	 */
 	 */
@@ -431,6 +437,14 @@ public class PurchaseInquiryItem {
 		this.vendorprodcode = vendorprodcode;
 		this.vendorprodcode = vendorprodcode;
 	}
 	}
 
 
+	public Long getLeadtime() {
+		return leadtime;
+	}
+
+	public void setLeadtime(Long leadtime) {
+		this.leadtime = leadtime;
+	}
+
 	/**
 	/**
 	 * 回复记录的描述
 	 * 回复记录的描述
 	 * 
 	 *