Compare commits
No commits in common. "621f6c906d9effc9a37a9c18696326d05fbb4e03" and "360ea2b4d5266307e414382b8754aca410171d56" have entirely different histories.
621f6c906d
...
360ea2b4d5
@ -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