|
|
@@ -2515,6 +2515,7 @@ func (r *WrOutInApply) GetDataEx() (interface{}, error) {
|
|
|
|
|
|
// WrDeliveryDetail 交收
|
|
|
type WrDeliveryDetail struct {
|
|
|
+ DELIVERYID string `json:"deliveryid" xorm:"'DELIVERYID'"` //交割单号(121+Unix秒时间戳(10位)+xxxxxx)
|
|
|
DELIVERYQTY float64 `json:"deliveryqty" xorm:"DELIVERYQTY"` // 交收数量(点选数量)
|
|
|
XDELIVERYCLOSEQTY float64 `json:"xdeliverycloseqty" xorm:"'XDELIVERYCLOSEQTY'"` // 合约数量
|
|
|
PDELIVERYCLOSEQTY float64 `json:"pdeliverycloseqty" xorm:"'PDELIVERYCLOSEQTY'"` // p合约平仓数量
|
|
|
@@ -2565,6 +2566,7 @@ func (r *WrDeliveryDetail) buildSql() string {
|
|
|
var sqlId utils.SQLVal = `
|
|
|
select t.xgoodsid,
|
|
|
t.buyorsell,
|
|
|
+ to_char(t.deliveryid) deliveryid,
|
|
|
t.deliveryqty,
|
|
|
t.xdeliverycloseqty,
|
|
|
t.pdeliverycloseqty,
|