Merge remote-tracking branch 'origin/test' into test

This commit is contained in:
2024-09-06 10:38:21 +08:00
5 changed files with 63 additions and 29 deletions

View File

@@ -205,7 +205,13 @@
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateStatusByOrderId">
update tb_order_detail set status = #{status} where order_id = #{orderId}
update tb_order_detail set status = #{status}
<if test="radio != null">
,price_amount=price_amount*#{radio}
</if>
where order_id = #{orderId}
</update>