教育训练处考试制证系统后端
heheng
2025-02-20 c15dda7ca82a479caa54cbbe169f1cf80c3be156
exam-system/src/main/resources/mapper/pay/NonCoalPayMapper.xml
@@ -239,6 +239,7 @@
        <result property="orderId" column="order_id"/>
        <result property="orderNo" column="order_no"/>
        <result property="govPayStatus" column="gov_pay_status"/>
        <result property="payCode" column="pay_code"/>
    </resultMap>
@@ -267,10 +268,11 @@
        t.pay_status,
        t.order_id,
        t.gov_pay_status,
        t.order_no
        t.order_no,
        t.pay_code
        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 and
        t.order_id is null
        inner join non_coal_pay_student t on t.non_coal_pay_id = a.id and t.del_flag = 0
        <if test="isPay != null and isPay == 1 ">and t.pay_status = 0</if>
        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