1、批量更新
<resultMap id="BaseResultMap" type="TobItemSet" >
<id column="id" property="id" jdbcType="BIGINT" />
<result column="itemid" property="itemid" jdbcType="VARCHAR" />
<result column="brand" property="brand" jdbcType="VARCHAR" />
<result column="unit" property="unit" jdbcType="VARCHAR" />
<result column="batch" property="batch" jdbcType="VARCHAR" />
</resultMap>
<update id="update" parameterType="java.util.List">
<foreach collection="userOtps" item="userOtp" open="begin" close=";end;&