Compare commits
2 Commits
360ea2b4d5
...
621f6c906d
| Author | SHA1 | Date | |
|---|---|---|---|
| 621f6c906d | |||
| fb3b33a817 |
@ -157,7 +157,7 @@ func GetBundleBalanceByUserId(req *bundle.GetBundleBalanceByUserIdReq) (data mod
|
||||
Joins("LEFT JOIN `micro-account`.`user` u ON u.id = bb.user_id").
|
||||
Where("bor.deleted_at IS NULL").
|
||||
Where("bb.user_id = ?", req.UserId).
|
||||
Where("bor.expiration_time > ?", time.Now()).
|
||||
// Where("bor.expiration_time > ?", time.Now()).
|
||||
Where("bor.deleted_at IS NULL").
|
||||
Order("bb.created_at desc").
|
||||
First(&data).Error
|
||||
|
||||
Loading…
Reference in New Issue
Block a user