|
|
@@ -31,8 +31,8 @@ func (u UserVirtualCoinFlowDb) UserVirtualCoinFlowFindByCoinAndUser(page, pageSi |
|
|
|
if direction != 0 { |
|
|
|
session = session.And("direction = ?", direction) |
|
|
|
} |
|
|
|
if transferType != 0{ |
|
|
|
session = session.And("type = ?", type) |
|
|
|
if transferType != 0 { |
|
|
|
session = session.And("type = ?", transferType) |
|
|
|
} |
|
|
|
session = session.Limit(pageSize, (page-1)*pageSize) |
|
|
|
if isAsc { |
|
|
|