From 24b6506be8376fd3a50661100e7e436785e6cebc Mon Sep 17 00:00:00 2001 From: "jiaji.H" Date: Thu, 11 Jun 2026 13:19:07 +0800 Subject: [PATCH] fix --- internal/dao/bundleExtend.go | 2 +- internal/logic/bundleExtendLogic.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/dao/bundleExtend.go b/internal/dao/bundleExtend.go index 103d19a..cd8dbb4 100644 --- a/internal/dao/bundleExtend.go +++ b/internal/dao/bundleExtend.go @@ -186,7 +186,7 @@ func GetPayLaterBundleBalanceList(req *bundle.GetPayLaterBundleBalanceListReq) ( Joins(`INNER JOIN ( SELECT customer_id, MAX(created_at) AS max_created_time FROM bundle_order_records - WHERE order_type = 2 AND deleted_at is NULL AND bor.pay_later_status > 0 + WHERE order_type = 2 AND deleted_at is NULL AND pay_later_status > 0 GROUP BY customer_id ) bor2 ON bor1.customer_id = bor2.customer_id AND bor1.created_at = bor2.max_created_time`) diff --git a/internal/logic/bundleExtendLogic.go b/internal/logic/bundleExtendLogic.go index 7a919bc..87c949f 100644 --- a/internal/logic/bundleExtendLogic.go +++ b/internal/logic/bundleExtendLogic.go @@ -923,7 +923,7 @@ func buildDefaultPayLaterBalanceLayout() string { {"艺人手机号", "userPhoneNumber", 1}, {"用户编号", "customerNum", 1}, {"最后购买的套餐", "bundleName", 1}, - {"下单时间", "payTime", 1}, + {"最新下单时间", "payTime", 1}, {"过期时间", "expiredTime", 1}, {"视频总数", "bundleVideoSumNumber", 1}, {"可用视频数", "bundleVideoNumber", 1},