|
@@ -2056,6 +2056,7 @@
|
|
|
t.buyorsell "buyorsell",
|
|
t.buyorsell "buyorsell",
|
|
|
g.goodunitid "goodunitid",
|
|
g.goodunitid "goodunitid",
|
|
|
t.marketid "marketid",
|
|
t.marketid "marketid",
|
|
|
|
|
+ mar.trademode "trademode",
|
|
|
t.userid "userid",
|
|
t.userid "userid",
|
|
|
t.accountid "accountid",
|
|
t.accountid "accountid",
|
|
|
t.goodsid "goodsid",
|
|
t.goodsid "goodsid",
|
|
@@ -2068,6 +2069,7 @@
|
|
|
t.realdeliveryqty * t.deliverypremium "realdeliverytotalpremium"
|
|
t.realdeliveryqty * t.deliverypremium "realdeliverytotalpremium"
|
|
|
from Trade_GoodsDeliveryOffLine t
|
|
from Trade_GoodsDeliveryOffLine t
|
|
|
left join useraccount ua on t.userid = ua.userid
|
|
left join useraccount ua on t.userid = ua.userid
|
|
|
|
|
+ left join market mar on mar.marketid = t.marketid
|
|
|
left join useraccount ua2 on t.matchuserid = ua2.userid
|
|
left join useraccount ua2 on t.matchuserid = ua2.userid
|
|
|
left join goods g on t.goodsid = g.goodsid
|
|
left join goods g on t.goodsid = g.goodsid
|
|
|
left join enumdicitem e1 on e1.enumdiccode = 'buyOrSell' and t.buyorsell = e1.enumitemname
|
|
left join enumdicitem e1 on e1.enumdiccode = 'buyOrSell' and t.buyorsell = e1.enumitemname
|