|
@@ -25,6 +25,7 @@ public class SaleDownDetail {
|
|
|
private Float sd_taxrate;
|
|
private Float sd_taxrate;
|
|
|
private Double sd_taxtotal;
|
|
private Double sd_taxtotal;
|
|
|
private String sd_factory;
|
|
private String sd_factory;
|
|
|
|
|
+ private String sd_remark;
|
|
|
|
|
|
|
|
public long getB2b_pd_id() {
|
|
public long getB2b_pd_id() {
|
|
|
return b2b_pd_id;
|
|
return b2b_pd_id;
|
|
@@ -162,10 +163,18 @@ public class SaleDownDetail {
|
|
|
this.sd_factory = sd_factory;
|
|
this.sd_factory = sd_factory;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public String getSd_remark() {
|
|
|
|
|
+ return sd_remark;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setSd_remark(String sd_remark) {
|
|
|
|
|
+ this.sd_remark = sd_remark;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
public String toSqlString(int foreignKey) {
|
|
public String toSqlString(int foreignKey) {
|
|
|
return "insert into SaleDownDetail(b2b_pd_id,sd_id,sd_said,sd_code,sd_detno,sd_custprodcode,sd_prodcode,sd_custproddetail,sd_prodname,sd_custprodspec,sd_prodspec,"
|
|
return "insert into SaleDownDetail(b2b_pd_id,sd_id,sd_said,sd_code,sd_detno,sd_custprodcode,sd_prodcode,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_taxtotal,sd_delivery) VALUES ("
|
|
|
|
|
|
|
+ + "sd_taxtotal,sd_delivery,sd_remark) VALUES ("
|
|
|
+ b2b_pd_id
|
|
+ b2b_pd_id
|
|
|
+ ",SaleDownDetail_SEQ.nextval,"
|
|
+ ",SaleDownDetail_SEQ.nextval,"
|
|
|
+ foreignKey
|
|
+ foreignKey
|
|
@@ -204,7 +213,9 @@ public class SaleDownDetail {
|
|
|
+ ","
|
|
+ ","
|
|
|
+ NumberUtil.nvl(sd_taxtotal, 0)
|
|
+ NumberUtil.nvl(sd_taxtotal, 0)
|
|
|
+ ","
|
|
+ ","
|
|
|
- + (sd_delivery == null ? "null" : DateUtil.parseDateToOracleString(null, sd_delivery)) + ")";
|
|
|
|
|
|
|
+ + (sd_delivery == null ? "null" : DateUtil.parseDateToOracleString(null, sd_delivery))
|
|
|
|
|
+ + ",'"
|
|
|
|
|
+ + sd_remark +"')";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|