修改
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user