fix
This commit is contained in:
parent
669e5377bb
commit
24b6506be8
@ -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`)
|
||||
|
||||
|
||||
@ -923,7 +923,7 @@ func buildDefaultPayLaterBalanceLayout() string {
|
||||
{"艺人手机号", "userPhoneNumber", 1},
|
||||
{"用户编号", "customerNum", 1},
|
||||
{"最后购买的套餐", "bundleName", 1},
|
||||
{"下单时间", "payTime", 1},
|
||||
{"最新下单时间", "payTime", 1},
|
||||
{"过期时间", "expiredTime", 1},
|
||||
{"视频总数", "bundleVideoSumNumber", 1},
|
||||
{"可用视频数", "bundleVideoNumber", 1},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user