Compare commits

..

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

View File

@ -100,7 +100,7 @@ func GetBundleBalanceList(req *bundle.GetBundleBalanceListReq) (data []model.Bun
u.nickname as user_name,
u.tel_num as user_phone_number
`).
Joins("INNER JOIN bundle_order_records bor on bor.uuid = bb.order_uuid").
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").
Where("bor.deleted_at IS NULL")
if req.UserName != "" {