教育训练处考试制证系统后端
heheng
2025-02-05 ce5853e8e540693421c86e32a050d8a2e214198a
exam-system/src/main/resources/mapper/pay/NonCoalPayMapper.xml
@@ -234,6 +234,8 @@
        <result property="studentName" column="student_name"/>
        <result property="payStatus" column="pay_status"/>
        <result property="orderId" column="order_id"/>
        <result property="orderNo" column="order_no"/>
        <result property="govPayStatus" column="gov_pay_status"/>
    </resultMap>
@@ -260,9 +262,12 @@
        t.id_card,
        t.name as student_name,
        t.pay_status,
        t.order_id
        t.order_id,
        t.gov_pay_status,
        t.order_no
        from non_coal_pay a
        inner join non_coal_pay_student t on t.non_coal_pay_id = a.id and t.del_flag = 0 and t.pay_status = 0
        inner join non_coal_pay_student t on t.non_coal_pay_id = a.id and t.del_flag = 0 and t.pay_status = 0 and
        t.order_id is null
        inner join non_coal_pay_category b on a.id = b.non_coal_pay_id and b.del_flag = 0
        left join non_coal_category c on b.category_id = c.id and c.del_flag = 0
        where a.del_flag = 0