src/main/resources/mapper/DeviceSpareMapper.xml
@@ -13,4 +13,10 @@ and supplier = #{item.supplier} </foreach> </update> <update id="updateQuantityAndPictureBatch"> <foreach collection="list" item="item" separator=";"> update web_site.tb_device_spare set quantity = #{item.quantity},picture_url = #{item.pictureUrl} where id = #{item.id} </foreach> </update> </mapper>