Explorar o código

帕诺迪代采业务,增加字段:开票名称、开票型号、税收分类编码

Hu Jie %!s(int64=7) %!d(string=hai) anos
pai
achega
1a11dcd964

+ 33 - 0
src/main/java/com/uas/platform/b2b/erp/model/PurchaseDetail.java

@@ -50,8 +50,38 @@ public class PurchaseDetail {
 	private Float pd_purctaxrate;
 	//终端币别
 	private String pd_purccurrency;
+	//税收分类编码
+	private String pd_taxcode;
+	//开票名称
+	private String pd_billname;
+	//开票型号
+	private String pd_orispeccode;
 	private List<Attach> attaches;
 
+	public String getPd_taxcode() {
+		return pd_taxcode;
+	}
+
+	public void setPd_taxcode(String pd_taxcode) {
+		this.pd_taxcode = pd_taxcode;
+	}
+
+	public String getPd_billname() {
+		return pd_billname;
+	}
+
+	public void setPd_billname(String pd_billname) {
+		this.pd_billname = pd_billname;
+	}
+
+	public String getPd_orispeccode() {
+		return pd_orispeccode;
+	}
+
+	public void setPd_orispeccode(String pd_orispeccode) {
+		this.pd_orispeccode = pd_orispeccode;
+	}
+
 	public Float getPd_purcprice() {
 		return pd_purcprice;
 	}
@@ -265,6 +295,9 @@ public class PurchaseDetail {
 		item.setPurcCurrency(this.pd_purccurrency);
 		item.setPurcPrice(this.pd_purcprice);
 		item.setPurcTaxRate(this.pd_purctaxrate);
+		item.setTaxCode(this.pd_taxcode);
+		item.setBillName(this.pd_billname);
+		item.setOriSpecCode(this.pd_orispeccode);
 		if (!CollectionUtils.isEmpty(this.attaches)) {
 			Set<com.uas.platform.b2b.model.Attach> b2bAttaches = new HashSet<com.uas.platform.b2b.model.Attach>();
 			for(Attach attach : this.attaches) {

+ 33 - 0
src/main/java/com/uas/platform/b2b/erp/model/SaleDownDetail.java

@@ -42,6 +42,36 @@ public class SaleDownDetail {
 	private Float sd_SpecTaxRate;
 	//终端币别
 	private String sd_SpecCurrency;
+	//客户物料税收分类编码
+	private String sd_prodtaxcode;
+	//客户物料开票名称
+	private String sd_prodbillname;
+	//客户物料开票型号
+	private String sd_prodorispeccode;
+
+	public String getSd_prodtaxcode() {
+		return sd_prodtaxcode;
+	}
+
+	public void setSd_prodtaxcode(String sd_prodtaxcode) {
+		this.sd_prodtaxcode = sd_prodtaxcode;
+	}
+
+	public String getSd_prodbillname() {
+		return sd_prodbillname;
+	}
+
+	public void setSd_prodbillname(String sd_prodbillname) {
+		this.sd_prodbillname = sd_prodbillname;
+	}
+
+	public String getSd_prodorispeccode() {
+		return sd_prodorispeccode;
+	}
+
+	public void setSd_prodorispeccode(String sd_prodorispeccode) {
+		this.sd_prodorispeccode = sd_prodorispeccode;
+	}
 
 	public Float getSd_SpecPrice() {
 		return sd_SpecPrice;
@@ -296,6 +326,9 @@ public class SaleDownDetail {
 		this.sd_SpecPrice = orderItem.getPurcPrice();
 		this.sd_SpecCurrency = orderItem.getPurcCurrency();
 		this.sd_SpecTaxRate = orderItem.getPurcTaxRate();
+		this.sd_prodtaxcode = orderItem.getTaxCode();
+		this.sd_prodbillname = orderItem.getBillName();
+		this.sd_prodorispeccode = orderItem.getOriSpecCode();
 	}
 
 	/**

+ 42 - 0
src/main/java/com/uas/platform/b2b/model/PurcOrderInfoItem.java

@@ -244,6 +244,48 @@ public class PurcOrderInfoItem extends AbstractRedDotKey {
 	@Column(name = "pd_erpdate")
 	private Date erpDate;
 
+	/**
+	 * 税收分类编码
+	 */
+	@Column(name = "pd_taxcode")
+	private String taxCode;
+
+	/**
+	 * 开票名称
+	 */
+	@Column(name = "pd_billname")
+	private String billName;
+
+	/**
+	 * 开票型号
+	 */
+	@Column(name = "pd_orispeccode")
+	private String oriSpecCode;
+
+	public String getTaxCode() {
+		return taxCode;
+	}
+
+	public void setTaxCode(String taxCode) {
+		this.taxCode = taxCode;
+	}
+
+	public String getBillName() {
+		return billName;
+	}
+
+	public void setBillName(String billName) {
+		this.billName = billName;
+	}
+
+	public String getOriSpecCode() {
+		return oriSpecCode;
+	}
+
+	public void setOriSpecCode(String oriSpecCode) {
+		this.oriSpecCode = oriSpecCode;
+	}
+
 	public Long getId() {
 		return id;
 	}

+ 43 - 1
src/main/java/com/uas/platform/b2b/model/PurchaseOrderAllItem.java

@@ -247,6 +247,24 @@ public class PurchaseOrderAllItem extends AbstractRedDotKey {
 	@Column(name = "pd_purccurrency")
 	private String purcCurrency;
 
+	/**
+	 * 税收分类编码
+	 */
+	@Column(name = "pd_taxcode")
+	private String taxCode;
+
+	/**
+	 * 开票名称
+	 */
+	@Column(name = "pd_billname")
+	private String billName;
+
+	/**
+	 * 开票型号
+	 */
+	@Column(name = "pd_orispeccode")
+	private String oriSpecCode;
+
 	/**
 	 * 是否在变更中
 	 */
@@ -259,7 +277,31 @@ public class PurchaseOrderAllItem extends AbstractRedDotKey {
 	@Transient
 	private Double latestReplyQty;
 
-    public Long getId() {
+	public String getTaxCode() {
+		return taxCode;
+	}
+
+	public void setTaxCode(String taxCode) {
+		this.taxCode = taxCode;
+	}
+
+	public String getBillName() {
+		return billName;
+	}
+
+	public void setBillName(String billName) {
+		this.billName = billName;
+	}
+
+	public String getOriSpecCode() {
+		return oriSpecCode;
+	}
+
+	public void setOriSpecCode(String oriSpecCode) {
+		this.oriSpecCode = oriSpecCode;
+	}
+
+	public Long getId() {
 		return id;
 	}