教育训练处考试制证系统后端
heheng
2025-01-23 06bc26e0f7639ba93b402acf8252c1c20a85b8c6
exam-system/src/main/resources/mapper/pay/NonCoalPayMapper.xml
@@ -262,7 +262,8 @@
        t.pay_status,
        t.order_id
        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