src/main/resources/mapper/otc/OtcOrderDao.xml
@@ -14,6 +14,7 @@ a.order_no orderNo, a.unit_price unitPrice, a.coin_amount amount, a.status status, a.total_amount totalAmount, a.create_time creatTime, a.order_type orderType, @@ -41,6 +42,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>