|
|
@@ -110,7 +110,7 @@ func QueryInnerTradeDetail(c *gin.Context) {
|
|
|
from Hedge_InnerTradeDetail t
|
|
|
left join ERMS2_ASTradeDetails ast on t.relatedouttradeid = OutTradeID
|
|
|
left join ERMS2_ArbitrageStrategy asd on ast.asapplyid = asd.asapplyid
|
|
|
- left join ERMS2_SpotContract sc on ast.spotcontractid = sc.spotcontractid
|
|
|
+ left join ERMS3_SpotContract sc on ast.spotcontractid = sc.spotcontractid
|
|
|
left join goods g on t.goodsid = g.goodsid
|
|
|
left join enumdicitem e on g.goodunitid = e.enumitemname and e.enumdiccode = 'goodsunit'
|
|
|
left join goodsgroup gg on g.goodsgroupid = gg.goodsgroupid
|