刘帅
2026-09-20 8a85fc834d98b2c14c5b886a957ccf3197aad293
cloud-server-activity/src/main/resources/mapper/PayHuiminMapper.xml
@@ -20,7 +20,8 @@
        tph.studentId,
        thc.id as carId,
        tph.status,
        tph.orderNumber
        tph.orderNumber,
        tph.userCouponId
        FROM
        t_pay_huimin tph
        LEFT JOIN t_huimin_card thc ON tph.cardId = thc.id
@@ -138,6 +139,7 @@
        tph.endTime,
        tph.studentId,
        tph.status,
        tph.userCouponId,
        CASE
        WHEN tph.id IS NULL THEN NULL
        ELSE COALESCE(COUNT(thr.id), 0)