57,062
社区成员
发帖
与我相关
我的任务
分享 <update id="updateKhsj" parameterClass="java.util.List">
<iterate conjunction=" ;">
update khsj set rzrs=#list[].rzrs# where bmid=#list[].bmid# and datatype=#list[].datatype# and year=#list[].year# and khtime=#list[].khtime#
</iterate>
</update> <update id="updateBatch" parameterType="java.util.List">
<foreach collection="list" item="item" index="index" open="" close="" separator=";">
update courseTable
<set>
userName=${item.userName}
</set>
where id = ${item.id}
</foreach>
</update>