Helius
2021-05-20 7313bee2cdb9cec77b4e5447abf9d9c9c2e119b5
src/main/resources/mapper/otc/OtcOrderDao.xml
@@ -41,6 +41,9 @@
    <update id="updateOrderStatusByOrderNo">
        update otc_order
        set status=#{status}
        <if test="payName != null and payName != ''">
            , pay_name = #{payName}
        </if>
        where order_no=#{orderNo}
    </update>