From c7795eb09f3059f1a0310bc817e2fa0e9e64d29e Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期四, 26 六月 2025 21:15:01 +0800 Subject: [PATCH] Merge branch 'master' of http://118.89.139.230:10101/r/powerIntelligenceSystem --- src/main/resources/mapper/DeviceSpareMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/DeviceSpareMapper.xml b/src/main/resources/mapper/DeviceSpareMapper.xml index 36a7fe5..761f7ea 100644 --- a/src/main/resources/mapper/DeviceSpareMapper.xml +++ b/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> \ No newline at end of file -- Gitblit v1.9.1