Mapper--oracle 循环更新

<update id="updateData" parameterType="java.util.List">

             begin

             <foreach collection="list" item="item" index="index" open=""

                    close="">

                    UPDATE

                    xxx

                    SET

                    a=#{item.a},

             </foreach>

             end;

       </update>

猜你喜欢

转载自blog.csdn.net/a1085441210/article/details/82462654