whyclxw
8 小时以前 c7795eb09f3059f1a0310bc817e2fa0e9e64d29e
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>