|
@@ -2088,7 +2088,8 @@ func (r *Ermcp2hedgeditemlink) buildSql() string {
|
|
|
e.ENUMDICNAME,
|
|
e.ENUMDICNAME,
|
|
|
t.RELATEDQTY,
|
|
t.RELATEDQTY,
|
|
|
t.SPOTPRICEDAMOUNT,
|
|
t.SPOTPRICEDAMOUNT,
|
|
|
- t.SPOTPRICEDAVGPRICE
|
|
|
|
|
|
|
+ t.SPOTPRICEDAVGPRICE,
|
|
|
|
|
+ t.HEDGEDTYPE
|
|
|
FROM ERMCP2_HEDGEDITEMLINK t
|
|
FROM ERMCP2_HEDGEDITEMLINK t
|
|
|
LEFT JOIN ERMCP2_HedgedItem h ON h.HEDGEDITEMID = t.HEDGEDITEMID
|
|
LEFT JOIN ERMCP2_HedgedItem h ON h.HEDGEDITEMID = t.HEDGEDITEMID
|
|
|
LEFT JOIN WRStandard wr ON wr.wrstandardid = t.wrstandardid
|
|
LEFT JOIN WRStandard wr ON wr.wrstandardid = t.wrstandardid
|