教育训练处考试制证系统后端
“djh”
2025-03-06 6061c45849de0f3ac6d05fdfa2bac4b09c21179b
exam-system/src/main/resources/mapper/pay/CoalPayStudentMapper.xml
@@ -41,6 +41,7 @@
            <if test="orderNo != null and orderNo != '' ">order_no,</if>
            <if test="fileData!=null">file_data,</if>
            <if test="govPayStatus!=null">gov_pay_status,</if>
            <if test="train!=null and train!=''">train,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="updateBy != null">update_by,</if>
@@ -61,6 +62,7 @@
            <if test="orderNo != null and orderNo != '' ">#{orderNo},</if>
            <if test="fileData!=null">#{fileData},</if>
            <if test="govPayStatus!=null">#{govPayStatus},</if>
            <if test="train!=null and train!=''">#{train},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="updateBy != null">#{updateBy},</if>
@@ -100,6 +102,7 @@
        update coal_pay_student
        <trim prefix="SET" suffixOverrides=",">
            <if test="payType != null">pay_type = #{payType},</if>
            <if test="govPayStatus!=null">gov_pay_status=#{govPayStatus},</if>
        </trim>
        where coal_pay_id = #{coalPayId} and pay_status = 0
    </update>