过滤空余量信息

This commit is contained in:
lzh 2025-06-18 16:47:28 +08:00
parent a71942b0d4
commit df0b742168

View File

@ -98,7 +98,7 @@ func GetBundleBalanceList(req *bundle.GetBundleBalanceListReq) (data []model.Bun
u.nickname as user_name,
u.tel_num as user_phone_number
`).
Joins("LEFT JOIN bundle_order_records bor on bor.customer_id = bb .user_id").
Joins("INNER JOIN bundle_order_records bor on bor.uuid = bb.order_uuid").
Joins("LEFT JOIN `micro-account`.`user` u on u.id = bb.user_id").
Where("bor.deleted_at IS NULL")
if req.UserName != "" {