@@ -348,7 +348,7 @@ func (r *MineTradeOrderDetail) buildSql() string {
on t.goodsid = pge.goodsid
inner join goods g
- on t.goodsid = g.goodsid
+ on pge.relatedgoodsid = g.goodsid
inner join taaccount ta
on t.accountid = ta.accountid