|
|
@@ -607,7 +607,6 @@ func (r *MineTradeOrder) buildSql() string {
|
|
|
on t.accountid = ta.accountid
|
|
|
|
|
|
where t.marketid = 49201
|
|
|
- and t.buyorsell = 1
|
|
|
and ta.userid = %v
|
|
|
order by t.ordertime desc
|
|
|
`
|
|
|
@@ -674,8 +673,7 @@ func (r *MineTradeOrder) buildSql_His() string {
|
|
|
inner join taaccount ta
|
|
|
on t.accountid = ta.accountid
|
|
|
|
|
|
- where t.marketid = 49201
|
|
|
- and t.buyorsell = 1
|
|
|
+ where t.marketid = 49201
|
|
|
`
|
|
|
|
|
|
sqlId.And("ta.userid", r.Userid)
|