Compare commits

..

No commits in common. "289518d2f9eb1a49eeba8ba493c44d87767ca5d0" and "e5255d3022f992d074f75629677363114dbed51c" have entirely different histories.

View File

@ -102,7 +102,7 @@ func GetBundleBalanceList(req *bundle.GetBundleBalanceListReq) (data []model.Bun
`). `).
Joins("LEFT JOIN bundle_order_records bor on bor.customer_id = bb .user_id"). Joins("LEFT JOIN bundle_order_records bor on bor.customer_id = bb .user_id").
Joins("LEFT JOIN `micro-account`.`user` u on u.id = bb.user_id"). Joins("LEFT JOIN `micro-account`.`user` u on u.id = bb.user_id").
Where("bor.deleted_at IS NULL") Where("bor.deleted_at IS NOT NULL")
if req.UserName != "" { if req.UserName != "" {
session = session.Where("u.nickname like ?", "%"+req.UserName+"%") session = session.Where("u.nickname like ?", "%"+req.UserName+"%")
} }