From fe2db8190b16393ebf1718ec5f7f9e77855c7048 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Thu, 21 Nov 2024 13:50:36 +0800 Subject: [PATCH] update --- src/implement/user_virtual_coin_flow_implement.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/implement/user_virtual_coin_flow_implement.go b/src/implement/user_virtual_coin_flow_implement.go index 7eaff09..a4be0b6 100644 --- a/src/implement/user_virtual_coin_flow_implement.go +++ b/src/implement/user_virtual_coin_flow_implement.go @@ -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 {