|
|
@@ -10,6 +10,7 @@ import com.uas.erp.schedular.util.StringUtil;
|
|
|
*/
|
|
|
public class AcceptNotifyDetail {
|
|
|
|
|
|
+ private Long b2b_si_id;
|
|
|
private short and_detno;
|
|
|
private String and_ordercode;
|
|
|
private Short and_orderdetno;
|
|
|
@@ -17,6 +18,15 @@ public class AcceptNotifyDetail {
|
|
|
private Double and_inqty;
|
|
|
private Double and_price;
|
|
|
private String and_remark;
|
|
|
+ private Long and_id;
|
|
|
+
|
|
|
+ public Long getB2b_si_id() {
|
|
|
+ return b2b_si_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setB2b_si_id(Long b2b_si_id) {
|
|
|
+ this.b2b_si_id = b2b_si_id;
|
|
|
+ }
|
|
|
|
|
|
public short getAnd_detno() {
|
|
|
return and_detno;
|
|
|
@@ -74,8 +84,16 @@ public class AcceptNotifyDetail {
|
|
|
this.and_price = and_price;
|
|
|
}
|
|
|
|
|
|
+ public Long getAnd_id() {
|
|
|
+ return and_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAnd_id(Long and_id) {
|
|
|
+ this.and_id = and_id;
|
|
|
+ }
|
|
|
+
|
|
|
public String toSqlString(int foreignKey) {
|
|
|
- return "insert into AcceptNotifyDetail(and_id,and_anid,and_detno,and_ordercode,and_orderdetno,and_inqty,and_b2bqty,and_remark,and_price,and_pnid) values (AcceptNotifyDetail_seq.nextval,"
|
|
|
+ return "insert into AcceptNotifyDetail(and_id,and_anid,and_detno,and_ordercode,and_orderdetno,and_inqty,and_b2bqty,and_remark,and_price,and_pnid,b2b_si_id) values (AcceptNotifyDetail_seq.nextval,"
|
|
|
+ foreignKey
|
|
|
+ ","
|
|
|
+ and_detno
|
|
|
@@ -88,7 +106,7 @@ public class AcceptNotifyDetail {
|
|
|
+ ","
|
|
|
+ and_inqty
|
|
|
+ ",'"
|
|
|
- + StringUtil.nvl(and_remark, "") + "'," + and_price + "," + this.and_pnid + ")";
|
|
|
+ + StringUtil.nvl(and_remark, "") + "'," + and_price + "," + this.and_pnid + "," + this.b2b_si_id + ")";
|
|
|
}
|
|
|
|
|
|
}
|