Compare commits
No commits in common. "e8f76dd102ba2d83ebf5bb03f0d23cbdf9e432f9" and "58a066315b02041136c10da5a85b9077ee39a8b1" have entirely different histories.
e8f76dd102
...
58a066315b
@ -113,7 +113,7 @@ func GetBundleBalanceList(req *bundle.GetBundleBalanceListReq) (data []model.Bun
|
||||
Joins("LEFT JOIN fiee_bundle.bundle_balance AS bb on u.id = bb.user_id").
|
||||
Joins("LEFT JOIN `micro-account`.`real_name` rn on u.real_name_id = rn.id").
|
||||
Joins("LEFT JOIN bundle_order_records bor on bor.uuid = bb.order_uuid").
|
||||
Where("bor.deleted_at IS NULL and rn.name IS NOT NULL and u.deleted_at = 0")
|
||||
Where("bor.deleted_at IS NULL and rn.name IS NOT NULL")
|
||||
if req.UserName != "" {
|
||||
if utils.IsPhoneNumber(req.UserName) {
|
||||
session = session.Where("u.tel_num = ?", req.UserName)
|
||||
|
Loading…
Reference in New Issue
Block a user