north-glass-erp/src/main/resources/mapper/sd/OrderDetail.xml
@@ -53,5 +53,19 @@ ) </foreach> </insert> <update id="updateOrderMoney" parameterType="java.util.List"> <foreach collection="orderDetails" item="item" index="index" open="" close="" separator=";"> update order_detail as a set a.price = #{item.price}, a.gross_amount = #{item.grossAmount} where a.order_id = #{item.orderId} and a.order_number = #{item.orderNumber} </foreach> </update> </mapper>