From df0b7421682fdc4ad71d1e07a93f7d07077594a7 Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Wed, 18 Jun 2025 16:47:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E7=A9=BA=E4=BD=99=E9=87=8F?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dao/bundleExtend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dao/bundleExtend.go b/internal/dao/bundleExtend.go index 3213142..ce0c0ad 100644 --- a/internal/dao/bundleExtend.go +++ b/internal/dao/bundleExtend.go @@ -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 != "" {