|
|
@@ -38,6 +38,36 @@ public class SaleDownDetail {
|
|
|
private String sd_acceptcustaddress;
|
|
|
//终端供应商编号
|
|
|
private String sd_purcvendcode;
|
|
|
+ //终端单价
|
|
|
+ private Float sd_SpecPrice;
|
|
|
+ //终端税率
|
|
|
+ private Float sd_SpecTaxRate;
|
|
|
+ //终端币别
|
|
|
+ private String sd_SpecCurrency;
|
|
|
+
|
|
|
+ public Float getSd_SpecPrice() {
|
|
|
+ return sd_SpecPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_SpecPrice(Float sd_SpecPrice) {
|
|
|
+ this.sd_SpecPrice = sd_SpecPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Float getSd_SpecTaxRate() {
|
|
|
+ return sd_SpecTaxRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_SpecTaxRate(Float sd_SpecTaxRate) {
|
|
|
+ this.sd_SpecTaxRate = sd_SpecTaxRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSd_SpecCurrency() {
|
|
|
+ return sd_SpecCurrency;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_SpecCurrency(String sd_SpecCurrency) {
|
|
|
+ this.sd_SpecCurrency = sd_SpecCurrency;
|
|
|
+ }
|
|
|
|
|
|
public String getSd_purcvendcode() {
|
|
|
return sd_purcvendcode;
|
|
|
@@ -233,7 +263,7 @@ public class SaleDownDetail {
|
|
|
|
|
|
public String toSqlString(int foreignKey) {
|
|
|
return "insert into SaleDownDetail(b2b_pd_id,sd_id,sd_said,sd_code,sd_detno,sd_custprodcode,sd_custproddetail,sd_prodname,sd_custprodspec,sd_prodspec,"
|
|
|
- + "sd_custprodunit,sd_replyqty,sd_replydate,sd_replydetail,sd_price,sd_qty,sd_total,sd_taxrate,"
|
|
|
+ + "sd_custprodunit,sd_replyqty,sd_replydate,sd_replydetail,sd_price,sd_qty,sd_total,sd_taxrate,sd_SpecPrice,sd_SpecTaxRate,sd_SpecCurrency,"
|
|
|
+ "sd_taxtotal,sd_delivery,sd_remark,sd_purcvendname,sd_purcvenduu,sd_purcdetno,sd_acceptcustname,sd_acceptcustaddress,sd_purcvendcode) VALUES ("
|
|
|
+ b2b_pd_id
|
|
|
+ ",SaleDownDetail_SEQ.nextval,"
|
|
|
@@ -269,6 +299,12 @@ public class SaleDownDetail {
|
|
|
+ ","
|
|
|
+ NumberUtil.nvl(sd_taxrate, 0)
|
|
|
+ ","
|
|
|
+ + NumberUtil.nvl(sd_SpecPrice, 0)
|
|
|
+ + ","
|
|
|
+ + NumberUtil.nvl(sd_SpecTaxRate, 0)
|
|
|
+ + ",'"
|
|
|
+ + StringUtil.nvl(sd_SpecCurrency, "")
|
|
|
+ + "',"
|
|
|
+ NumberUtil.nvl(sd_taxtotal, 0)
|
|
|
+ ","
|
|
|
+ (sd_delivery == null ? "null" : DateUtil.parseDateToOracleString(null, sd_delivery))
|